summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2013-01-16 12:05:11 +0000
committerweasel <weasel@bc3d92e2-beff-0310-a7cd-cc87d7ac0ede>2013-01-16 12:05:11 +0000
commit41410ec54e6663c0314e2b9d412b210378d49adf (patch)
tree2ba98ba3ddd47b381c551e02a84862353a851df0
parent46b5899564056ba29b723a8772bc8804369c76e5 (diff)
publish: Fix missing setup_tmpdir for ttl setup
Signed-off-by: Peter Palfrader <peter@palfrader.org> git-svn-id: svn+ssh://asteria.noreply.org/svn/weaselutils/trunk@573 bc3d92e2-beff-0310-a7cd-cc87d7ac0ede
-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