$NetBSD: patch-ak,v 1.2 2003/06/04 16:25:33 taca Exp $ --- script/installbin.sh.orig 2001-10-09 14:22:31.000000000 +0900 +++ script/installbin.sh @@ -11,7 +11,7 @@ shift 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