antespi/s3md5

wrong temp file name

Pjack opened this issue · 1 comments

Should use double quote or cannot get the process id.
It may cause trouble during multi-thread condition.

ERROR_FILE='/tmp/s3md5-error-$$.out'
SUM_FILE='/tmp/s3md5-md5sumlist-$$.out'
BIN_FILE='/tmp/s3md5-md5bin-$$.out'

=>

ERROR_FILE="/tmp/s3md5-error-$$.out"
SUM_FILE="/tmp/s3md5-md5sumlist-$$.out"
BIN_FILE="/tmp/s3md5-md5bin-$$.out"

Fixed at fc6fdf4
Thanks @Pjack