diff options
author | Rich Felker <dalias@aerifal.cx> | 2013-12-03 19:01:40 -0500 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2013-12-03 19:01:40 -0500 |
commit | ceacb6a4cf926da6c05e104779f8475c709ff5e4 (patch) | |
tree | eae1ccfeecf6c7ce734fc109ee08275d2efd3bf9 /tools/install.sh | |
parent | a4b51633cfdecf597c247afe028c08b520816590 (diff) | |
download | musl-ceacb6a4cf926da6c05e104779f8475c709ff5e4.tar.gz musl-ceacb6a4cf926da6c05e104779f8475c709ff5e4.tar.bz2 musl-ceacb6a4cf926da6c05e104779f8475c709ff5e4.tar.xz musl-ceacb6a4cf926da6c05e104779f8475c709ff5e4.zip |
fix mv usage in install.sh to avoid bogus interactive prompting
Diffstat (limited to 'tools/install.sh')
-rwxr-xr-x | tools/install.sh | 2 |
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 |