[packages/adapter: 492/631] - match preamble tags also with colon
glen
glen at pld-linux.org
Mon Sep 12 20:15:41 CEST 2016
commit a6b7c72d559939737b1ee7bd59d9af4deefa031d
Author: arvenil <arvenil at pld-linux.org>
Date: Sat Aug 14 23:10:45 2010 +0000
- match preamble tags also with colon
Changed files:
adapter.awk -> 1.462
adapter.awk | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index e809f7a..d13309e 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -925,7 +925,7 @@ preamble == 1 {
# 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);
}
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885
More information about the pld-cvs-commit
mailing list