From: Silvio Rhatto Date: Sun, 22 Jul 2012 19:50:20 +0000 (-0300) Subject: BASEDIR defaulting to /tmp X-Git-Tag: 0.1~99 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=1d461f883e9f9667afdbf49e00f5dd7b8ad08c93;p=hydra.git BASEDIR defaulting to /tmp --- 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