From: Pat Riehecky <riehecky at fnal.gov> --- get_sources.sh | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/get_sources.sh b/get_sources.sh index 9df5a3b..24e507c 100755 --- a/get_sources.sh +++ b/get_sources.sh @@ -13,6 +13,12 @@ surl="https://git.centos.org/sources/" pn=$(basename `pwd`) f=.${pn}.metadata + +# for setting any overrides, such as surl or f +if [ -f /etc/centos-git-common ]; then + . /etc/centos-git-common +fi + if [ ! -e ${f} ] || [ ! -d .git ] || [ ! -d SOURCES ]; then echo 'You need to run this from inside a sources git repo' exit 1 -- 1.7.1