From ceacb6a4cf926da6c05e104779f8475c709ff5e4 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Tue, 3 Dec 2013 19:01:40 -0500 Subject: fix mv usage in install.sh to avoid bogus interactive prompting --- tools/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools') 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 -- cgit v1.1