199 if [[ $KEEP_TMP != "" ]];
200 then
201 echo "Keep temporary output directory."
202 mv ${TMPDIR} ${CWD}
203 else
204 rm -rf ${TMPDIR}
205 fi
Copying to the CWD means that multiple runs launched from the same mgf install fail when they all try to write to the same dir.