check for path to strip

This commit is contained in:
Todd C. Miller
1997-03-19 22:45:02 +00:00
parent 0caa3cc557
commit abeaf95238

View File

@@ -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