diff --git a/scripts/sort-edn-log.sh b/scripts/sort-edn-log.sh index 7aa820b..312f434 100755 --- a/scripts/sort-edn-log.sh +++ b/scripts/sort-edn-log.sh @@ -17,7 +17,7 @@ fi sorted_filename="$(echo $log_filename | sed 's/.gz$/.sort.gz/')" -tmp_sort_dir="sort-temp" +tmp_sort_dir="sort-temp$$" cd $log_dir @@ -34,4 +34,3 @@ else exit 1 fi rmdir "$tmp_sort_dir" -