diff --git a/show_possible_srpms.sh b/show_possible_srpms.sh index 089412c..1dbf492 100755 --- a/show_possible_srpms.sh +++ b/show_possible_srpms.sh @@ -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 " +# 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