Browse Source

Check if $TMPDIR is empty, not null

master
Sorin Ionescu 12 years ago
parent
commit
5232191cbe
  1. 3
      modules/pacman/functions/pacman-list-disowned

3
modules/pacman/functions/pacman-list-disowned

@ -1,3 +1,4 @@ @@ -1,3 +1,4 @@
#
# Lists Pacman disowned files.
#
@ -6,7 +7,7 @@ @@ -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"

Loading…
Cancel
Save