summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2013-12-03 19:01:40 -0500
committerRich Felker <dalias@aerifal.cx>2013-12-03 19:01:40 -0500
commitceacb6a4cf926da6c05e104779f8475c709ff5e4 (patch)
treeeae1ccfeecf6c7ce734fc109ee08275d2efd3bf9 /tools
parenta4b51633cfdecf597c247afe028c08b520816590 (diff)
downloadmusl-ceacb6a4cf926da6c05e104779f8475c709ff5e4.tar.gz
fix mv usage in install.sh to avoid bogus interactive prompting
Diffstat (limited to 'tools')
-rwxr-xr-xtools/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/install.sh b/tools/install.sh
index 7dcea333..4e5a8b9f 100755
--- 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