SOURCES: rpm-build.sh - ignore Sticky tag, etc lines for autotag()

glen glen at pld-linux.org
Wed Jan 23 19:20:27 CET 2008


Author: glen                         Date: Wed Jan 23 18:20:27 2008 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- ignore Sticky tag, etc lines for autotag()

---- Files affected:
SOURCES:
   rpm-build.sh (1.40 -> 1.41) 

---- Diffs:

================================================================
Index: SOURCES/rpm-build.sh
diff -u SOURCES/rpm-build.sh:1.40 SOURCES/rpm-build.sh:1.41
--- SOURCES/rpm-build.sh:1.40	Mon Dec 24 01:16:18 2007
+++ SOURCES/rpm-build.sh	Wed Jan 23 19:20:21 2008
@@ -64,7 +64,7 @@
 	local out
 	for a in "$@"; do
 		s=${a%.spec}.spec
-		out=$(cvs status -v $s | awk "/auto-$dist-/{if (!a++) print \$1}")
+		out=$(cvs status -v $s | awk "!/Sticky/&&/auto-$dist-/{if (!a++) print \$1}")
 		echo "$s:$out"
 	done
 }
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SOURCES/rpm-build.sh?r1=1.40&r2=1.41&f=u



More information about the pld-cvs-commit mailing list