[packages/adapter: 191/631] - match versioned requires lines too

glen glen at pld-linux.org
Mon Sep 12 19:50:28 CEST 2016


commit 4ec9976bf03f149fb50eebe7f1ffc7609efecf49
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Wed Sep 7 18:22:47 2005 +0000

    - match versioned requires lines too
    
    Changed files:
        adapter.awk -> 1.182

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index b173058..13deb9e 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -489,7 +489,7 @@ preamble == 1 {
 	}
 
 	# 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) {
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/adapter.git/commitdiff/6ca0126d4d0c8c79feb7db10b0a0fade0f3b8885



More information about the pld-cvs-commit mailing list