SPECS: adapter.awk - match versioned requires lines too

glen glen at pld-linux.org
Wed Sep 7 20:22:52 CEST 2005


Author: glen                         Date: Wed Sep  7 18:22:52 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- match versioned requires lines too

---- Files affected:
SPECS:
   adapter.awk (1.181 -> 1.182) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.181 SPECS/adapter.awk:1.182
--- SPECS/adapter.awk:1.181	Wed Sep  7 20:20:28 2005
+++ SPECS/adapter.awk	Wed Sep  7 20:22:47 2005
@@ -489,7 +489,7 @@
 	}
 
 	# split (build)requires on commas
-	if (field ~ /requires:/ && $2 ~ /,/) {
+	if (field ~ /requires:/ && $0 ~ /,/) {
 		l = substr($0, index($0, $2));
 		n = split(l, p, / *, */);
 		for (i in p) {
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.181&r2=1.182&f=u




More information about the pld-cvs-commit mailing list