From 2d5c07df0ffe00fe595a96d9c539adf6b66171ec Mon Sep 17 00:00:00 2001 From: =?utf8?q?Elan=20Ruusam=C3=A4e?= Date: Mon, 23 Oct 2006 20:59:25 +0000 Subject: [PATCH] - sticky tag warning to stderr Changed files: builder.sh -> 1.460 --- builder.sh | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/builder.sh b/builder.sh index 8b79025..c409cf1 100644 --- a/builder.sh +++ b/builder.sh @@ -1734,15 +1734,14 @@ init_rpm_dir() { #--------------------------------------------- # main() -if [ "$#" = 0 ]; then +if [ $# = 0 ]; then usage exit 1 fi -while test $# -gt 0 -do +while [ $# -gt 0 ]; do case "${1}" in - -5 | --update-md5 ) + -5 | --update-md5) COMMAND="update_md5" NODIST="yes" NOCVSSPEC="yes" @@ -1965,7 +1964,7 @@ done if [ -z "$CVSTAG" ]; then CVSTAG=$(awk -vSPECFILE="${SPECFILE%.spec}.spec" -F/ '$2 == SPECFILE && $6 ~ /^T/{print substr($6, 2)}' CVS/Entries) if [ "$CVSTAG" ]; then - echo "builder: Stick tag $CVSTAG active. Use -r TAGNAME to override." + echo >&2 "builder: Stick tag $CVSTAG active. Use -r TAGNAME to override." fi elif [ "$CVSTAG" = "HEAD" ]; then # assume -r HEAD is same as -A -- 2.44.0