packages: adapter.awk - match preamble tags also with colon

arvenil arvenil at pld-linux.org
Sun Aug 15 01:10:50 CEST 2010


Author: arvenil                      Date: Sat Aug 14 23:10:50 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- match preamble tags also with colon

---- Files affected:
packages:
   adapter.awk (1.461 -> 1.462) 

---- Diffs:

================================================================
Index: packages/adapter.awk
diff -u packages/adapter.awk:1.461 packages/adapter.awk:1.462
--- packages/adapter.awk:1.461	Tue Aug 10 19:56:39 2010
+++ packages/adapter.awk	Sun Aug 15 01:10:45 2010
@@ -925,7 +925,7 @@
 #	so don't do that.
 # - comments leading the BR/R can not be associated,
 #	so don't adapterize when the BR/R are mixed with comments
-ENVIRON["SKIP_SORTBR"] != 1 && preamble == 1 && $0 ~ PREAMBLE_TAGS, $0 ~ PREAMBLE_TAGS {
+ENVIRON["SKIP_SORTBR"] != 1 && preamble == 1 && $0 ~ PREAMBLE_TAGS ":", $0 ~ PREAMBLE_TAGS ":"{
 	if ($1 ~ /Pre[Rr]eq:/) {
 		sub(/Pre[Rr]eq:/, "Requires:", $1);
 	}
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/adapter.awk?r1=1.461&r2=1.462&f=u



More information about the pld-cvs-commit mailing list