]> gitweb.fluxo.info Git - keyringer.git/commitdiff
Temp folder priority set to "$TMPDIR $TMP /tmpĀ /run/shm"
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 26 Nov 2013 00:11:29 +0000 (22:11 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 26 Nov 2013 00:11:29 +0000 (22:11 -0200)
lib/keyringer/functions

index 7b96d6f77ebc3d100f0b4e68a2f05eb5ecbee858..828cb31d9d845129bf9e8dc0d8990ee6beae3278 100755 (executable)
@@ -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"