]> git.pld-linux.org Git - packages/rpm-build-tools.git/commitdiff
- cp -a implies cp -r
authorElan Ruusamäe <glen@pld-linux.org>
Sat, 2 Sep 2006 20:08:33 +0000 (20:08 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    adapter.awk -> 1.322

adapter.awk

index a5ca0070a4f5681e8d8841fcac4b061fb60a977f..f83a8f202ab2fdcb59c3d78a1be8b9df46c15dda 100644 (file)
@@ -472,9 +472,8 @@ function b_makekey(a, b,    s) {
        if (/mkdir -p/)
                sub(/mkdir -p/, "install -d")
 
-       # 'install' instead 'cp -p'
-       if (/cp -p\b/)
-               sub(/cp -p/, "install")
+       # cp -a already implies cp -r
+    sub(/^cp -ar/, "cp -a")
 
        # No '-u root' or '-g root' for 'install'
        if (/^install/ && /-[ug][ \t]*root/)
This page took 0.042449 seconds and 4 git commands to generate.