fix for confused removal of list file
authorChris Koeritz <fred@gruntose.com>
Sun, 12 Nov 2017 03:55:59 +0000 (03:55 +0000)
committerChris Koeritz <fred@gruntose.com>
Sun, 12 Nov 2017 03:55:59 +0000 (03:55 +0000)
scripts/rev_control/version_control.sh

index 1d8b56083717c4a0b120cdcbb9a848a2f4ec0039..8c7e996162769570b7c3b7644ae15063dd84ee70 100644 (file)
@@ -445,7 +445,7 @@ function generate_rev_ctrl_filelist()
   local sortfile=$(mktemp /tmp/zz_checkin_sort.XXXXXX)
   sort <"$tempfile" >"$sortfile"
   echo "$sortfile"
-  \rm "$tempfile" "$sortfile"
+  \rm "$tempfile"
 }
 
 # iterates across a list of directories contained in a file (first parameter).
@@ -480,6 +480,6 @@ function perform_revctrl_action_on_file()
 
   restore_terminal_title
 
-  rm $tempfile
+  rm "$tempfile"
 }