[CentOS-devel] [PATCH 2/3] May want to set defaults from the override file....

Pat Riehecky riehecky at fnal.gov
Thu Jun 26 16:11:55 UTC 2014


From: Pat Riehecky <riehecky at fnal.gov>

---
 show_possible_srpms.sh |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/show_possible_srpms.sh b/show_possible_srpms.sh
index 1dbf492..5f5fb93 100755
--- a/show_possible_srpms.sh
+++ b/show_possible_srpms.sh
@@ -39,16 +39,16 @@ warn () {
 
 RHELAUTHOR="CentOS Buildsys <bugs at 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
 BRANCH=""
 
+# for setting any overrides, such as RHELAUTHOR or default BRANCH
+if [ -f /etc/centos-git-common ]; then
+  . /etc/centos-git-common
+fi
+
 #####################################################################
 # setup args in the right order for making getopt evaluation
 # nice and easy.  You'll need to read the manpages for more info
-- 
1.7.1




More information about the CentOS-devel mailing list