mirror of
https://github.com/release-engineering/dist-git.git
synced 2025-02-23 23:12:55 +00:00
scripts: use config file to set AUTHOR
The copr-dist-git package uses those scripts directly, without explicitly setting $AUTHOR variable.
This commit is contained in:
parent
efa5ab8baf
commit
994f476ece
3 changed files with 3 additions and 2 deletions
|
@ -30,6 +30,7 @@ Requires: python-requests
|
|||
Requires: mod_ssl
|
||||
Requires: fedmsg
|
||||
Requires: cronie
|
||||
Requires: crudini
|
||||
Requires(pre): shadow-utils
|
||||
|
||||
%description
|
||||
|
|
|
@ -97,7 +97,7 @@ if [ -z "$BRANCH" -o -z "$PACKAGES" ] ; then
|
|||
fi
|
||||
|
||||
if [ -z $AUTHOR ]; then
|
||||
AUTHOR="Fedora Release Engineering <rel-eng@lists.fedoraproject.org>"
|
||||
AUTHOR=`crudini --get /etc/dist-git/dist-git.conf git default_branch_author`
|
||||
fi
|
||||
|
||||
|
||||
|
|
|
@ -82,7 +82,7 @@ if [ -z $PKG_OWNER_EMAILS ]; then
|
|||
fi
|
||||
|
||||
if [ -z $AUTHOR ]; then
|
||||
AUTHOR="Fedora Release Engineering <rel-eng@lists.fedoraproject.org>"
|
||||
AUTHOR=`crudini --get /etc/dist-git/dist-git.conf git default_branch_author`
|
||||
fi
|
||||
|
||||
# Sanity checks before we start doing damage
|
||||
|
|
Loading…
Add table
Reference in a new issue