[packages/adapter: 128/631] - replace "cp -p" with "install"

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


commit fde90d949d3a86634719f4a8f9cb935aa420ef4a
Author: Elan Ruusamäe <glen at pld-linux.org>
Date:   Tue Feb 1 21:15:28 2005 +0000

    - replace "cp -p" with "install"
    
    Changed files:
        adapter.awk -> 1.123

 adapter.awk | 4 ++++
 1 file changed, 4 insertions(+)
---
diff --git a/adapter.awk b/adapter.awk
index 63e0dd0..f1db31e 100644
--- a/adapter.awk
+++ b/adapter.awk
@@ -227,6 +227,10 @@ defattr == 1 {
 	# 'install -d' instead 'mkdir -p'
 	if (/mkdir -p/)
 		sub(/mkdir -p/, "install -d")
+
+	# 'install' instead 'cp -p'
+	if (/cp -p/)
+		sub(/cp -p/, "install")
 		
 	# No '-u root' or '-g root' for 'install'
 	if (/^install/ && /-[ug][ \t]*root/)
================================================================

---- gitweb:

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



More information about the pld-cvs-commit mailing list