From 2ba03f1af0dbe60f145b7d2f8e3f35bfac7f9702 Mon Sep 17 00:00:00 2001 From: Chauncey Garrett Date: Mon, 14 Apr 2014 00:20:51 -0500 Subject: [PATCH] Make tmp variable more robust by setting fallback Fallback is set to /tmp [ticket: X] --- modules/pacman/functions/pacman-list-disowned | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pacman/functions/pacman-list-disowned b/modules/pacman/functions/pacman-list-disowned index 2cd8a92b..d6b6f289 100644 --- a/modules/pacman/functions/pacman-list-disowned +++ b/modules/pacman/functions/pacman-list-disowned @@ -6,7 +6,7 @@ # Sorin Ionescu # -local tmp="$TMPDIR/pacman-disowned-$UID-$$" +local tmp="${TMPDIR:-/tmp}/pacman-disowned-$UID-$$" local db="$tmp/db" local fs="$tmp/fs"