SPECS: adapter.awk - ungreedy define parsing

glen glen at pld-linux.org
Wed Oct 12 22:04:00 CEST 2005


Author: glen                         Date: Wed Oct 12 20:04:00 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- ungreedy define parsing

---- Files affected:
SPECS:
   adapter.awk (1.198 -> 1.199) 

---- Diffs:

================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.198 SPECS/adapter.awk:1.199
--- SPECS/adapter.awk:1.198	Wed Oct 12 10:37:37 2005
+++ SPECS/adapter.awk	Wed Oct 12 22:03:55 2005
@@ -684,11 +684,11 @@
 		if ($2 ~ /_snap/)
 			_snap = $3
 
-		if ($2 ~ /name/)
+		if ($2 ~ /^name$/)
 			name = $3
-		if ($2 ~ /version/)
+		if ($2 ~ /^version$/)
 			version = $3
-		if ($2 ~ /release/)
+		if ($2 ~ /^release$/)
 			release = $3
 	}
 
================================================================

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




More information about the pld-cvs-commit mailing list