SPECS: builder - sticky tag warning to stderr

glen glen at pld-linux.org
Mon Oct 23 22:59:30 CEST 2006


Author: glen                         Date: Mon Oct 23 20:59:30 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- sticky tag warning to stderr

---- Files affected:
SPECS:
   builder (1.459 -> 1.460) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.459 SPECS/builder:1.460
--- SPECS/builder:1.459	Mon Oct 23 21:54:22 2006
+++ SPECS/builder	Mon Oct 23 22:59:25 2006
@@ -1734,15 +1734,14 @@
 #---------------------------------------------
 # 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 @@
 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
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/builder?r1=1.459&r2=1.460&f=u



More information about the pld-cvs-commit mailing list