projects
/
sudo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0caa3cc
)
check for path to strip
author
Todd C. Miller
<Todd.Miller@courtesan.com>
Wed, 19 Mar 1997 22:45:02 +0000
(22:45 +0000)
committer
Todd C. Miller
<Todd.Miller@courtesan.com>
Wed, 19 Mar 1997 22:45:02 +0000
(22:45 +0000)
install-sh
patch
|
blob
|
history
diff --git
a/install-sh
b/install-sh
index 72fb95a2218a46824175df86bf1dd79fc60fb5eb..efc0f8bba285e1d030b5fda43b0e01511d1532c5 100755
(executable)
--- a/
install-sh
+++ b/
install-sh
@@
-6,7
+6,7
@@
PROGNAME=`basename $0`
-## Paths to programs. CHOWN and WHOAMI are checked below.
+## Paths to programs. CHOWN
, STRIP
and WHOAMI are checked below.
CHOWN=chown
CHGRP=chgrp
CHMOD=chmod
@@
-37,6
+37,14
@@
if [ ${WHOAMI} = whoami ] ; then
fi
fi
+if [ ${STRIP} = strip ] ; then
+ if [ -f /usr/ccs/bin/strip ] ; then
+ STRIP=/usr/ccs/bin/strip
+ elif [ -f /usr/bin/strip ] ; then
+ STRIP=/usr/bin/strip
+ fi
+fi
+
## Defaults.
CHOWNIT=false
CHGROUPIT=false