summaryrefslogtreecommitdiffstats
path: root/unix/install-sh
diff options
context:
space:
mode:
authorkevin_walzer <kevin_walzer@noemail.net>2011-04-29 01:05:37 (GMT)
committerkevin_walzer <kevin_walzer@noemail.net>2011-04-29 01:05:37 (GMT)
commit2069db38ed673bcae513abca4c710e2a90bd1053 (patch)
treeb7a4aa4ca616cf1c276f02f4c146155b13d3ce34 /unix/install-sh
parent0315fe7e50562f08cd3d8d63bc66af510559bdac (diff)
downloadtcl-2069db38ed673bcae513abca4c710e2a90bd1053.zip
tcl-2069db38ed673bcae513abca4c710e2a90bd1053.tar.gz
tcl-2069db38ed673bcae513abca4c710e2a90bd1053.tar.bz2
Fix issue with library stripping in install-sh
FossilOrigin-Name: b269db5d3e97b67c14b29003b8cfe9696a523812
Diffstat (limited to 'unix/install-sh')
-rwxr-xr-xunix/install-sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/unix/install-sh b/unix/install-sh
index 3f83ce9..c68581d 100755
--- a/unix/install-sh
+++ b/unix/install-sh
@@ -1,7 +1,7 @@
#!/bin/sh
# install - install a program, script, or datafile
-scriptversion=2010-02-06.18; # UTC
+scriptversion=2011-04-20.01; # UTC
# This originates from X11R5 (mit/util/scripts/install.sh), which was
# later released in X11R6 (xc/config/util/install.sh) with the
@@ -120,6 +120,7 @@ Options:
-m MODE $chmodprog installed files to MODE.
-o USER $chownprog installed files to USER.
-s $stripprog installed files.
+ -S $stripprog installed files.
-t DIRECTORY install into DIRECTORY.
-T report an error if DSTFILE is a directory.
@@ -155,6 +156,9 @@ while test $# -ne 0; do
-s) stripcmd=$stripprog;;
+ -S) stripcmd="$stripprog $2"
+ shift;;
+
-t) dst_arg=$2
shift;;