aboutsummaryrefslogtreecommitdiff
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
parenta4b51633cfdecf597c247afe028c08b520816590 (diff)
downloadmusl-ceacb6a4cf926da6c05e104779f8475c709ff5e4.zip
musl-ceacb6a4cf926da6c05e104779f8475c709ff5e4.tar.gz
musl-ceacb6a4cf926da6c05e104779f8475c709ff5e4.tar.bz2
fix mv usage in install.sh to avoid bogus interactive prompting
-rwxr-xr-xtools/install.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/install.sh b/tools/install.sh
index 7dcea33..4e5a8b9 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