Return to install-sh CVS log | Up to [local] / src / usr.bin / sudo |
version 1.8, 2007/07/26 16:10:16 | version 1.9, 2008/07/31 16:44:03 | ||
---|---|---|---|
|
|
||
## Get the destination and a temp file in the destination diretory. | ## Get the destination and a temp file in the destination diretory. | ||
if [ -d "$2" ] ; then | if [ -d "$2" ] ; then | ||
DEST="$2/$1" | DEST="$2/`basename $1`" | ||
TEMP="$2/$$.tmp" | TEMP="$2/$$.tmp" | ||
else | else | ||
DEST="$2" | DEST="$2" |