Allow overrides of $RHELAUTHOR

This commit is contained in:
Pat Riehecky 2014-06-26 14:36:46 -05:00 committed by Johnny Hughes
parent a0a5934fd2
commit e1634fc7ca

View file

@ -1,14 +1,16 @@
#!/bin/bash -u
#
# Finds all possible srpms for a given repo
#
# Might want to drop this in ~/bin/ and chmod u+x it
#
#####################################################################
usage() {
echo '' >&2
echo "$0 [-hrcq] [-b branch]" >&2
echo '' >&2
echo ' Finds all possible srpms for a given repo' >&2
echo ' based on the commit log' >&2
echo '' >&2
echo 'You need to run this from inside a sources git repo' >&2
echo '' >&2
echo ' -h: This help message' >&2
@ -37,6 +39,11 @@ warn () {
RHELAUTHOR="CentOS Buildsys <bugs@centos.org>"
# for setting any overrides, such as RHELAUTHOR
if [ -f /etc/centos-git-common ]; then
. /etc/centos-git-common
fi
RHELONLY=0
QUIET=0
WITHCOMMITHASH=0