summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorMichel Dänzer <michel@tungstengraphics.com>2006-12-11 17:45:06 +0100
committerMichel Dänzer <michel@tungstengraphics.com>2006-12-11 17:45:06 +0100
commit26626c0052cd5442f609659aa9ed25ac78e65b55 (patch)
treeaf35a73ac64d910e551730df77fed66ab84625cc /bin
parentd71a5647a3ed4aadd46edfa8a031ffc87d88c5f7 (diff)
downloadexternal_mesa3d-26626c0052cd5442f609659aa9ed25ac78e65b55.zip
external_mesa3d-26626c0052cd5442f609659aa9ed25ac78e65b55.tar.gz
external_mesa3d-26626c0052cd5442f609659aa9ed25ac78e65b55.tar.bz2
minstall: Pass correct destination file path to $RM regardless of source path.
Diffstat (limited to 'bin')
-rwxr-xr-xbin/minstall2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/minstall b/bin/minstall
index 210c275..819b2bc 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"`