From 1d461f883e9f9667afdbf49e00f5dd7b8ad08c93 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 22 Jul 2012 16:50:20 -0300 Subject: BASEDIR defaulting to /tmp --- lib/hydra/tmpfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib') 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 -- cgit v1.2.3