aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-11-25 22:11:29 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-11-25 22:11:29 -0200
commit34c3eba0b22bc97bf3611294a3464c2d1510a007 (patch)
tree00d1334350840e5171a5e473963257a61fb1e304
parent41963ff0f4eccca14dd7a656a2ac8eb7beb2fd85 (diff)
downloadkeyringer-34c3eba0b22bc97bf3611294a3464c2d1510a007.tar.gz
keyringer-34c3eba0b22bc97bf3611294a3464c2d1510a007.tar.bz2
Temp folder priority set to "$TMPDIR $TMP /tmpĀ /run/shm"
-rwxr-xr-xlib/keyringer/functions2
1 files changed, 1 insertions, 1 deletions
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"