mirror of
https://git.centos.org/centos-git-common.git
synced 2025-02-23 16:22:56 +00:00
Allow overrides of $RHELAUTHOR
This commit is contained in:
parent
a0a5934fd2
commit
e1634fc7ca
1 changed files with 9 additions and 2 deletions
|
@ -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@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
|
||||
|
|
Loading…
Add table
Reference in a new issue