From 26626c0052cd5442f609659aa9ed25ac78e65b55 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michel=20D=C3=A4nzer?= Date: Mon, 11 Dec 2006 17:45:06 +0100 Subject: [PATCH] minstall: Pass correct destination file path to $RM regardless of source path. --- bin/minstall | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/minstall b/bin/minstall index 210c2758d37..819b2bc7e4a 100755 --- a/bin/minstall +++ b/bin/minstall @@ -65,7 +65,7 @@ if [ $# -ge 2 ] ; then elif [ -f "$FILE" ] ; then #echo "$FILE" is a regular file - $RM "$DEST/$FILE" + $RM "$DEST/`basename $FILE`" cp "$FILE" "$DEST" if [ $MODE ] ; then FILE=`basename "$FILE"` -- 2.30.2