[CentOS-devel] [PATCH 1/3] Allow overrides of $RHELAUTHOR
Pat Riehecky
riehecky at fnal.gov
Thu Jun 26 16:11:54 UTC 2014
From: Pat Riehecky <riehecky at fnal.gov>
---
show_possible_srpms.sh | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
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 <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
--
1.7.1
More information about the CentOS-devel
mailing list