SPECS: adapter.awk - cp -a implies cp -r
glen
glen at pld-linux.org
Sat Sep 2 22:08:38 CEST 2006
Author: glen Date: Sat Sep 2 20:08:38 2006 GMT
Module: SPECS Tag: HEAD
---- Log message:
- cp -a implies cp -r
---- Files affected:
SPECS:
adapter.awk (1.321 -> 1.322)
---- Diffs:
================================================================
Index: SPECS/adapter.awk
diff -u SPECS/adapter.awk:1.321 SPECS/adapter.awk:1.322
--- SPECS/adapter.awk:1.321 Wed Jul 26 21:15:30 2006
+++ SPECS/adapter.awk Sat Sep 2 22:08:33 2006
@@ -472,9 +472,8 @@
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/)
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/adapter.awk?r1=1.321&r2=1.322&f=u
More information about the pld-cvs-commit
mailing list