summaryrefslogtreecommitdiffstats
path: root/unix/install-sh
diff options
context:
space:
mode:
authorKevin Walzer <kw@codebykevin.com>2011-04-29 01:11:03 (GMT)
committerKevin Walzer <kw@codebykevin.com>2011-04-29 01:11:03 (GMT)
commitc7a967c13958ca51cd87ce6b074c8c1ef734913d (patch)
tree33a2d02e8d1e57be5dc8c8c3ec768669db6eba44 /unix/install-sh
parent07dc9808f36d774371138f766748daa30c9e899d (diff)
downloadtk-c7a967c13958ca51cd87ce6b074c8c1ef734913d.zip
tk-c7a967c13958ca51cd87ce6b074c8c1ef734913d.tar.gz
tk-c7a967c13958ca51cd87ce6b074c8c1ef734913d.tar.bz2
Implement support for [wm forget] and [wm manage] on OS X; fix issue with library stripping in install-sh
Diffstat (limited to 'unix/install-sh')
-rw-r--r--unix/install-sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/unix/install-sh b/unix/install-sh
index 3f83ce9..5975819 100644
--- 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;;