check for path to strip
This commit is contained in:
10
install-sh
10
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
|
||||
|
Reference in New Issue
Block a user