From e1634fc7ca2bc7571ee60696e7b03de5672b3060 Mon Sep 17 00:00:00 2001 From: Pat Riehecky Date: Jun 26 2014 19:36:46 +0000 Subject: Allow overrides of $RHELAUTHOR --- 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