From: Silvio Rhatto Date: Tue, 26 Nov 2013 00:11:29 +0000 (-0200) Subject: Temp folder priority set to "$TMPDIR $TMP /tmpĀ /run/shm" X-Git-Tag: 0.2.9~14 X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=34c3eba0b22bc97bf3611294a3464c2d1510a007;p=keyringer.git Temp folder priority set to "$TMPDIR $TMP /tmpĀ /run/shm" --- diff --git a/lib/keyringer/functions b/lib/keyringer/functions index 7b96d6f..828cb31 100755 --- a/lib/keyringer/functions +++ b/lib/keyringer/functions @@ -144,7 +144,7 @@ function keyringer_check_tmp { function keyringer_set_tmpfile { local tmp local candidate - local candidates="/tmp /run/shm $TMP" + local candidates="$TMPDIR $TMP /tmp /run/shm" if [ -z "$BASEDIR" ]; then echo "Please set BASEDIR before creating a tmp file"