commit 12bfc5c83d073cc670cf57f0af37f2c21ae56c3f
Author: Elan Ruusamäe <[email protected]>
Date:   Thu Apr 14 18:54:36 2005 +0000

    - don't be so greedy sorting %verify attrs
    
    Changed files:
        adapter.awk -> 1.151

 adapter.awk | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/adapter.awk b/adapter.awk
index c9a2544..6d69ee5 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -733,7 +733,7 @@ function use_files_macros(  i, n, t, a)
        gsub("%attr\(0", "%attr(")
 
        # sort %verify attrs
-       if (match($0, /%verify\(not (.*)\)/)) {
+       if (match($0, /%verify\(not([^)]+)\)/)) {
                t = substr($0, RSTART, RLENGTH)
                gsub(/^%verify\(not |\)$/, "", t)
                n = split(t, a, / /)
@@ -745,7 +745,7 @@ function use_files_macros(  i, n, t, a)
                }
                s = s ")"
 
-               gsub(/%verify\(not .*\)/, s)
+               gsub(/%verify\(not[^)]+\)/, s)
        }
 }
 
================================================================

---- gitweb:

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

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to