Added simple override file for altering top level vars.

This commit is contained in:
Pat Riehecky 2014-06-09 15:43:27 -05:00 committed by Karanbir Singh
parent a4a7af33ae
commit 1842fe9505

View file

@ -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