--- ./install-sh.orig 2013-01-13 14:47:15.438744067 +0100 +++ ./install-sh 2013-01-13 14:51:02.415744230 +0100 @@ -15,7 +15,6 @@ MKDIR=mkdir MV=mv RM=rm -STRIP=strip WHOAMI="echo root" ## Some systems don't support -x, so we have to use -f. @@ -35,12 +34,14 @@ fi done -for d in /usr/ccs/bin /usr/bin /bin; do - if [ -f $d/strip ]; then - STRIP=${d}/strip - break - fi -done +if [ -z "$STRIP" ]; then + for d in /usr/ccs/bin /usr/bin /bin; do + if [ -f $d/strip ]; then + STRIP=${d}/strip + break + fi + done +fi ## Defaults. CHOWNIT=false