[packages/adapter: 134/631] - don't replace 'cp -pR' with 'install' line

glen glen at pld-linux.org
Mon Sep 12 19:45:42 CEST 2016


commit 4a282bddb7f72caa67b747063ac5c440ef3c4d1d
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Mon Feb 14 22:55:03 2005 +0000

    - don't replace 'cp -pR' with 'install' line
    
    Changed files:
        adapter.awk -> 1.129

 adapter.awk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/adapter.awk b/adapter.awk
index 9861d44..174431c 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -233,7 +233,7 @@ defattr == 1 {
 		sub(/mkdir -p/, "install -d")
 
 	# 'install' instead 'cp -p'
-	if (/cp -p/)
+	if (/cp -p\b/)
 		sub(/cp -p/, "install")
 
 	# No '-u root' or '-g root' for 'install'
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list