mirror of git://git.musl-libc.org/musl
fix mv usage in install.sh to avoid bogus interactive prompting
This commit is contained in:
parent
a4b51633cf
commit
ceacb6a4cf
|
@ -53,7 +53,7 @@ else
|
||||||
cat < "$1" > "$tmp"
|
cat < "$1" > "$tmp"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
mv "$tmp" "$2"
|
mv -f "$tmp" "$2"
|
||||||
test -d "$2" && {
|
test -d "$2" && {
|
||||||
rm -f "$2/$tmp"
|
rm -f "$2/$tmp"
|
||||||
printf "%s: %s is a directory\n" "$0" "$dst" 1>&2
|
printf "%s: %s is a directory\n" "$0" "$dst" 1>&2
|
||||||
|
|
Loading…
Reference in New Issue