mirror of
https://github.com/dcarrillo/prezto.git
synced 2024-12-23 00:17:59 +00:00
Check if $TMPDIR is empty, not null
This commit is contained in:
parent
e8226dfaf3
commit
5232191cbe
@ -1,3 +1,4 @@
|
|||||||
|
|
||||||
#
|
#
|
||||||
# Lists Pacman disowned files.
|
# Lists Pacman disowned files.
|
||||||
#
|
#
|
||||||
@ -6,7 +7,7 @@
|
|||||||
# Sorin Ionescu <sorin.ionescu@gmail.com>
|
# 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 db="$tmp/db"
|
||||||
local fs="$tmp/fs"
|
local fs="$tmp/fs"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user