mirror of
https://github.com/sudo-project/sudo.git
synced 2025-08-22 18:08:23 +00:00
check for path to strip
This commit is contained in:
parent
0caa3cc557
commit
abeaf95238
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user