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}"
fi
mkdir "${tmp}"
echo "${tmp}"
}
mktemp_file() {
tmp=$(mktemp)
if ! test -f "${tmp}"; then
> "${tmp}"
fi
echo "${tmp}"
}