--- a/sbin/sync/fabfile.py Wed Aug 29 23:39:37 2012 +0200
+++ b/sbin/sync/fabfile.py Thu Aug 30 00:49:03 2012 +0200
@@ -31,7 +31,7 @@
activate_path = os.path.join(remotevirtualenvpath, "bin/activate")
res = ""
with prefix("source \"%s\"" % activate_path), prefix("export PYTHONPATH=\"%s\"" % remotepath), cd(remotepath):
- tempfilepath = run("mktemp ldtplatform.XXXXXX")
+ tempfilepath = run("mktemp --tmpdir ldtplatform.XXXXXX")
with settings(warn_only=True):
run("echo \"import os\" > %s" % (tempfilepath))
map(lambda str: run("echo \"%s\" >> %s" % (str, tempfilepath)),