=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/sudo/Attic/install-sh,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- src/usr.bin/sudo/Attic/install-sh 2007/07/26 16:10:16 1.8 +++ src/usr.bin/sudo/Attic/install-sh 2008/07/31 16:44:03 1.9 @@ -1,7 +1,7 @@ #! /bin/sh ## (From INN-1.4, written by Rich Salz) -## $Revision: 1.8 $ +## $Revision: 1.9 $ ## A script to install files and directories. PROGNAME=`basename $0` @@ -182,7 +182,7 @@ ## Get the destination and a temp file in the destination diretory. if [ -d "$2" ] ; then - DEST="$2/$1" + DEST="$2/`basename $1`" TEMP="$2/$$.tmp" else DEST="$2"