summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2011-04-29 01:05:37 (GMT)
committerKevin Walzer <kw@codebykevin.com>2011-04-29 01:05:37 (GMT)
commitf24cdf4341465ea638b1d195d2ae99f4fc0eb163 (patch)
treeb7a4aa4ca616cf1c276f02f4c146155b13d3ce34
parent0f60d55a98aa637a0b6ce1a6fabe8fdcd4df6eb4 (diff)
downloadtcl-f24cdf4341465ea638b1d195d2ae99f4fc0eb163.zip
tcl-f24cdf4341465ea638b1d195d2ae99f4fc0eb163.tar.gz
tcl-f24cdf4341465ea638b1d195d2ae99f4fc0eb163.tar.bz2
Fix issue with library stripping in 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;;