projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d71a564
)
minstall: Pass correct destination file path to $RM regardless of source path.
author
Michel Dänzer
<michel@tungstengraphics.com>
Mon, 11 Dec 2006 16:45:06 +0000
(17:45 +0100)
committer
Michel Dänzer
<michel@tungstengraphics.com>
Mon, 11 Dec 2006 16:45:06 +0000
(17:45 +0100)
bin/minstall
patch
|
blob
|
history
diff --git
a/bin/minstall
b/bin/minstall
index 210c2758d3700093e8fb52846eb9515ebd0efe9c..819b2bc7e4acfa58a93755ca40414ce356c25aa5 100755
(executable)
--- 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"`