SPECS: builder - skip Sticky Tag in display_branches

glen glen at pld-linux.org
Thu Nov 3 17:10:36 CET 2005


Author: glen                         Date: Thu Nov  3 16:10:36 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- skip Sticky Tag in display_branches

---- Files affected:
SPECS:
   builder (1.345 -> 1.346) 

---- Diffs:

================================================================
Index: SPECS/builder
diff -u SPECS/builder:1.345 SPECS/builder:1.346
--- SPECS/builder:1.345	Wed Nov  2 13:08:55 2005
+++ SPECS/builder	Thu Nov  3 17:10:30 2005
@@ -1198,7 +1198,7 @@
 {
 	 if [ "$NOCVSSPEC" != "yes" ]; then
 		  echo -ne "Available branches: "
-		  cvs status -v "${SPECFILE}" | awk '/\(branch:/ { print $1 } ' | xargs
+		  cvs status -v "${SPECFILE}" | awk '!/Sticky Tag:/ && /\(branch:/ { print $1 } ' | xargs
 	 fi
 }
 
================================================================

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




More information about the pld-cvs-commit mailing list