X-Git-Url: https://git.madduck.net/code/vcsh.git/blobdiff_plain/9867819bf0fc3882b9ede33462b6d98f10b7535a..b4078210a72a210c5a505b8d34ad4eb249fe735e:/vcsh diff --git a/vcsh b/vcsh index b10d809..fb1c091 100755 --- a/vcsh +++ b/vcsh @@ -314,7 +314,8 @@ list_untracked() { comm -12 --nocheck-order $temp_file_others $temp_file_untracked_copy > $temp_file_untracked done cat $temp_file_untracked - rm -r $temp_file_others $temp_file_untracked $temp_file_untracked_copy $temp_repo || fatal 'Could not delete temp file' + rm -f $temp_file_others $temp_file_untracked $temp_file_untracked_copy || fatal 'Could not delete temp files' + rm -rf $temp_repo || fatal 'Could not delete temp repo' } rename() {