minstall: Pass correct destination file path to $RM regardless of source path.
This commit is contained in:
@@ -65,7 +65,7 @@ if [ $# -ge 2 ] ; then
|
|||||||
|
|
||||||
elif [ -f "$FILE" ] ; then
|
elif [ -f "$FILE" ] ; then
|
||||||
#echo "$FILE" is a regular file
|
#echo "$FILE" is a regular file
|
||||||
$RM "$DEST/$FILE"
|
$RM "$DEST/`basename $FILE`"
|
||||||
cp "$FILE" "$DEST"
|
cp "$FILE" "$DEST"
|
||||||
if [ $MODE ] ; then
|
if [ $MODE ] ; then
|
||||||
FILE=`basename "$FILE"`
|
FILE=`basename "$FILE"`
|
||||||
|
Reference in New Issue
Block a user