Check if $TMPDIR is empty, not null

This commit is contained in:
Sorin Ionescu 2012-09-03 14:43:50 -04:00
parent e8226dfaf3
commit 5232191cbe
1 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
#
# Lists Pacman disowned files.
#
@ -6,7 +7,7 @@
# Sorin Ionescu <sorin.ionescu@gmail.com>
#
local tmp="${TMPDIR-/tmp}/pacman-disowned-$UID-$$"
local tmp="${TMPDIR:-/tmp}/pacman-disowned-$UID-$$"
local db="$tmp/db"
local fs="$tmp/fs"