projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bce82ef
)
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
Zou Nan hai
<nanhai.zou@intel.com>
Wed, 13 Dec 2006 21:26:09 +0000
(13:26 -0800)
(cherry picked from
26626c0052cd5442f609659aa9ed25ac78e65b55
commit)
bin/minstall
patch
|
blob
|
history
diff --git
a/bin/minstall
b/bin/minstall
index
210c275
..
819b2bc
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"`