SPECS: builder - experimental: keep existing sticky tag (i hope it...

glen glen at pld-linux.org
Mon Jun 5 21:04:13 CEST 2006


Author: glen                         Date: Mon Jun  5 19:04:13 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- experimental: keep existing sticky tag (i hope it doesn't break builders)

---- Files affected:
SPECS:
   builder (1.443 -> 1.444) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.443 SPECS/builder:1.444
--- SPECS/builder:1.443	Fri Jun  2 22:31:29 2006
+++ SPECS/builder	Mon Jun  5 21:04:08 2006
@@ -1920,9 +1920,16 @@
 				CVSTAG="${SPECFILE##*:}";
 				SPECFILE="${SPECFILE%%:*}";
 			fi
-			shift ;;
+			shift
 	esac
 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."
+	fi
+fi
 
 if [ -n "$DEBUG" ]; then
 	set -x;
================================================================

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



More information about the pld-cvs-commit mailing list