aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/hydra/tmpfile3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/hydra/tmpfile b/lib/hydra/tmpfile
index 0ac7402..371f5f8 100644
--- a/lib/hydra/tmpfile
+++ b/lib/hydra/tmpfile
@@ -3,8 +3,7 @@
# Setup a temporary file
function hydra_set_tmpfile {
if [ -z "$BASEDIR" ]; then
- echo "Please set BASEDIR before creating a tmp file"
- exit 1
+ BASEDIR="/tmp"
fi
if [ -z "$1" ]; then