Skip to content

Commit

Permalink
Use process id in temporary sort directory name.
Browse files Browse the repository at this point in the history
Allows parallel processing of EDN logs.
  • Loading branch information
Matt Russell committed Jun 10, 2016
1 parent 5955558 commit 1a7e701
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/sort-edn-log.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -34,4 +34,3 @@ else
exit 1
fi
rmdir "$tmp_sort_dir"

0 comments on commit 1a7e701

Please sign in to comment.