From: 김어진 Date: Sat, 1 Dec 2018 14:14:12 +0000 (+0900) Subject: add overwrite option in mv commend (#38) X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=226dd93b8945eb0158c689b0eccd9c48bbcac46b;p=m6w6%2Fgitweb-theme add overwrite option in mv commend (#38) --- diff --git a/setup b/setup index d35e07b..fa2ae83 100755 --- a/setup +++ b/setup @@ -56,7 +56,7 @@ install() then log "Skipping $FILE.bak, file exists..." else - mv $MV_ARGS "$TARGET/$FILE" "$TARGET/$FILE.bak" + mv -f $MV_ARGS "$TARGET/$FILE" "$TARGET/$FILE.bak" fi done log ""