summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpublish3
1 files changed, 2 insertions, 1 deletions
diff --git a/publish b/publish
index 0623e2a..9dfe458 100755
--- a/publish
+++ b/publish
@@ -255,7 +255,8 @@ fi
if [ -n "${ttl}" ]; then
- echo "${ttl}" >> $tmpdir/.publish.ttl
+ setup_tmpdir
+ echo "${ttl}" > $tmpdir/.publish.ttl
set dummy "$tmpdir/.publish.ttl" "$@"
shift
fi