From 0f34d130bc9ca060131af377177c91135df12362 Mon Sep 17 00:00:00 2001 From: Nathan Broadbent Date: Fri, 3 Feb 2012 17:55:05 +0800 Subject: [PATCH] { cp -f ... rm -f } === { mv -f }. lol. --- lib/git/tools.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/git/tools.sh b/lib/git/tools.sh index 7bf7d16..eb7dd39 100644 --- a/lib/git/tools.sh +++ b/lib/git/tools.sh @@ -171,11 +171,9 @@ update_travis_ci_status() { done # Replace current stat file with finished update - cp -f "$tmp_stat_file" "$stat_file" + mv -f "$tmp_stat_file" "$stat_file" # Ignore stat file from git repo git_ignore "$stat_file" ".git/info/exclude" - # Remove temporary file - rm -f "$tmp_stat_file" fi fi }