This commit is contained in:
Thomas Levine 2016-04-07 02:48:58 +00:00
parent e8d946cc5c
commit a484300263

2
urchin
View File

@ -86,12 +86,14 @@ mktemp_dir() {
rm "${tmp}" rm "${tmp}"
fi fi
mkdir "${tmp}" mkdir "${tmp}"
echo "${tmp}"
} }
mktemp_file() { mktemp_file() {
tmp=$(mktemp) tmp=$(mktemp)
if ! test -f "${tmp}"; then if ! test -f "${tmp}"; then
> "${tmp}" > "${tmp}"
fi fi
echo "${tmp}"
} }