On 07/21/2014 02:10 PM, Pat Riehecky wrote:
From: Pat Riehecky riehecky@fnal.gov
get_sources.sh | 4 ++-- return_disttag.sh | 4 ++-- show_possible_srpms.sh | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/get_sources.sh b/get_sources.sh index 210d9ad..0a22451 100755 --- a/get_sources.sh +++ b/get_sources.sh @@ -141,7 +141,7 @@ shopt -s nullglob set -- .*.metadata if (( $# == 0 )) then
- echo 'Missing metadata. Please run from inside a sources git repo'
- echo 'Missing metadata. Please run from inside a sources git repo' >&2 exit 1
elif (( $# > 1 )) then @@ -152,7 +152,7 @@ pn=${meta%.metadata} pn=${pn#.}
if [ ! -d .git ] || [ ! -d SPECS ]; then
- echo 'You need to run this from inside a sources git repo'
- echo 'You need to run this from inside a sources git repo' >&2 exit 1
fi mkdir -p SOURCES diff --git a/return_disttag.sh b/return_disttag.sh index de9ff29..dcde8e8 100755 --- a/return_disttag.sh +++ b/return_disttag.sh @@ -72,7 +72,7 @@ warn () { }
if [[ ! -d .git ]] || [[ ! -d SPECS ]]; then
- echo 'You need to run this from inside a sources git repo'
- echo 'You need to run this from inside a sources git repo' >&2 exit 1
fi
@@ -82,7 +82,7 @@ shopt -s nullglob set -- .*.metadata if (( $# == 0 )) then
- echo 'Missing metadata. Please run from inside a sources git repo'
- echo 'Missing metadata. Please run from inside a sources git repo' >&2 exit 1
elif (( $# > 1 )) then diff --git a/show_possible_srpms.sh b/show_possible_srpms.sh index 5f5fb93..83c4d08 100755 --- a/show_possible_srpms.sh +++ b/show_possible_srpms.sh @@ -93,7 +93,7 @@ while [[ 0 -eq 0 ]]; do done
if [[ ! -d .git ]] || [[ ! -d SPECS ]]; then
- echo 'You need to run this from inside a sources git repo'
- echo 'You need to run this from inside a sources git repo' >&2 exit 1
fi
pushed