[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] install-sh: Use the -c option to preserve permissions during
From: |
Karl Berry |
Subject: |
Re: [PATCH] install-sh: Use the -c option to preserve permissions during copy |
Date: |
Wed, 11 Nov 2020 09:13:19 -0700 |
+ -c) cpprog="$cpprog -p";;
As discussed, I changed the option to -p. Also added it to the --help
message and mentioned it in NEWS. --thanks, karl.
index 4fe1350..c4f150c 100755
--- a/lib/install-sh
+++ b/lib/install-sh
@@ -1,7 +1,7 @@
#!/bin/sh
# install - install a program, script, or datafile
-scriptversion=2020-11-11.01; # UTC
+scriptversion=2020-11-11.02; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
@@ -108,6 +108,7 @@ Options:
-g GROUP $chgrpprog installed files to GROUP.
-m MODE $chmodprog installed files to MODE.
-o USER $chownprog installed files to USER.
+ -p pass -p to $cpprog.
-s $stripprog installed files.
-t DIRECTORY install into DIRECTORY.
-T report an error if DSTFILE is a directory.
@@ -144,6 +145,8 @@ while test $# -ne 0; do
-o) chowncmd="$chownprog $2"
shift;;
+ -p) cpprog="$cpprog -p";;
+
-s) stripcmd=$stripprog;;
-t)
compile finished at Tue Nov 10 18:03:47 2020
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [PATCH] install-sh: Use the -c option to preserve permissions during copy,
Karl Berry <=