projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
fix mismatched signatures for strtod_l family
[musl]
/
tools
/
install.sh
diff --git
a/tools/install.sh
b/tools/install.sh
index
7dcea33
..
d913b60
100755
(executable)
--- a/
tools/install.sh
+++ b/
tools/install.sh
@@
-51,15
+51,14
@@
if test "$symlink" ; then
ln -s "$1" "$tmp"
else
cat < "$1" > "$tmp"
+chmod "$mode" "$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
exit 1
}
-test "$symlink" || chmod "$mode" "$2"
-
exit 0