OSDN Git Service
(root)
/
android-x86
/
external-musl-libc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a4b5163
)
fix mv usage in install.sh to avoid bogus interactive prompting
author
Rich Felker
<dalias@aerifal.cx>
Wed, 4 Dec 2013 00:01:40 +0000
(19:01 -0500)
committer
Rich Felker
<dalias@aerifal.cx>
Wed, 4 Dec 2013 00:01:40 +0000
(19:01 -0500)
tools/install.sh
patch
|
blob
|
history
diff --git
a/tools/install.sh
b/tools/install.sh
index
7dcea33
..
4e5a8b9
100755
(executable)
--- a/
tools/install.sh
+++ b/
tools/install.sh
@@
-53,7
+53,7
@@
else
cat < "$1" > "$tmp"
fi
-mv "$tmp" "$2"
+mv
-f
"$tmp" "$2"
test -d "$2" && {
rm -f "$2/$tmp"
printf "%s: %s is a directory\n" "$0" "$dst" 1>&2