SPECS: adapter.awk - allow %attr with only zeroes
glen
glen at pld-linux.org
Sun Oct 9 15:27:59 CEST 2005
Author: glen Date: Sun Oct 9 13:27:59 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- allow %attr with only zeroes
---- Files affected:
SPECS:
adapter.awk (1.191 -> 1.192)
---- Diffs:
================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.191 SPECS/adapter.awk:1.192
--- SPECS/adapter.awk:1.191 Mon Oct 3 17:57:06 2005
+++ SPECS/adapter.awk Sun Oct 9 15:27:54 2005
@@ -960,7 +960,9 @@
# kill leading zeros
- gsub("%attr\\(0", "%attr(")
+ if (/%attr\(0[1-9]/) {
+ gsub("%attr\\(0", "%attr(")
+ }
# sort %verify attrs
if (match($0, /%verify\(not([^)]+)\)/)) {
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.191&r2=1.192&f=u
More information about the pld-cvs-commit
mailing list