소스 검색

fix mv usage in install.sh to avoid bogus interactive prompting

Rich Felker 11 년 전
부모
커밋
ceacb6a4cf
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tools/install.sh

+ 1 - 1
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