From 828874b5c27ede33b108d15dddd1ffedb7a91cd8 Mon Sep 17 00:00:00 2001 From: Pat Riehecky Date: Thu, 26 Jun 2014 14:37:41 -0500 Subject: [PATCH] May want to set defaults from the override file --- show_possible_srpms.sh | 10 +++++----- 1 file 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 " -# 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