]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- kill "install -m\s*\d+"
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 16 Apr 2005 22:35:54 +0000 (22:35 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adapter.awk -> 1.157

adapter.awk

index cfc98abf37f82b41559bcb6e28906e4a2c49dbe5..9db109064f274d975231d58dc65b1ca159387624 100644 (file)
@@ -261,8 +261,8 @@ defattr == 1 {
        if (/^install/ && /-[ug][ \t]*root/)
                gsub(/-[ug][ \t]*root /, "")
 
-       if (/^install/ && /-m[ \t]*644/)
-               gsub(/-m[ \t]*644 /, "")
+       if (/^install/ && /-m[ \t]*[0-9]+/)
+               gsub(/-m[ \t]*[0-9]+ /, "")
 
        # No lines contain 'chown' or 'chgrp' if owner/group is 'root'
        if (($1 ~ /chown/ && $2 ~ /root\.root/) || ($1 ~ /chgrp/ && $2 ~ /root/))
This page took 0.034053 seconds and 4 git commands to generate.