$NetBSD: patch-ag,v 1.1.1.1 2004/01/11 00:41:13 jlam Exp $ --- script/installbin.sh.orig Fri Jan 12 11:28:02 2001 +++ script/installbin.sh @@ -11,7 +11,7 @@ shift shift -for d in $BASEDIR $BINDIR $LIBDIR $VARDIR $BASEDIR/private; do +for d in $BASEDIR $BINDIR $LIBDIR $VARDIR; do if [ ! -d $d ]; then mkdir $d if [ ! -d $d ]; then @@ -30,7 +30,9 @@ mv $BINDIR/$p2 $BINDIR/$p2.old fi cp $p $BINDIR/ + strip $BINDIR/$p2 chmod $INSTALLPERMS $BINDIR/$p2 + rm -f $BINDIR/$p2.old # this is a special case, mount needs this in a specific location if [ $p2 = smbmount ]; then