packages: adapter.awk - avoid matching %if macro with == expression

glen glen at pld-linux.org
Tue Oct 5 10:14:32 CEST 2010


Author: glen                         Date: Tue Oct  5 08:14:32 2010 GMT
Module: packages                      Tag: HEAD
---- Log message:
- avoid matching %if macro with == expression

---- Files affected:
packages:
   adapter.awk (1.471 -> 1.472) 

---- Diffs:

================================================================
Index: packages/adapter.awk
diff -u packages/adapter.awk:1.471 packages/adapter.awk:1.472
--- packages/adapter.awk:1.471	Thu Sep 16 23:55:03 2010
+++ packages/adapter.awk	Tue Oct  5 10:14:26 2010
@@ -747,7 +747,7 @@
 		$1 = "Suggests:"
 	}
 
-	if ($3 == "==") {
+	if ($3 == "==" && $1 !~ /%/) {
 		$3 = "="
 	}
 
================================================================

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



More information about the pld-cvs-commit mailing list