From f24cdf4341465ea638b1d195d2ae99f4fc0eb163 Mon Sep 17 00:00:00 2001 From: Kevin Walzer Date: Fri, 29 Apr 2011 01:05:37 +0000 Subject: Fix issue with library stripping in install-sh --- unix/install-sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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;; -- cgit v0.12