Fixes use of md5 for tempfile name (#16)

This commit is contained in:
jeremy avnet 2018-05-20 01:00:34 -07:00 committed by Anton Babenko
commit 6b06683c0d

View file

@ -18,7 +18,7 @@ for file_with_path in "$@"; do
let "index+=1"
done
readonly tmp_file="tmp_$(date | md5).txt"
readonly tmp_file=$(mktemp)
readonly text_file="README.md"
for path_uniq in $(echo "${paths[*]}" | tr ' ' '\n' | sort -u); do