1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-07-01 23:19:25 +00:00

[Fix #514] Use /tmp when $TMPDIR is undefined

This commit is contained in:
Sorin Ionescu
2014-01-03 14:20:32 -05:00
parent aefdce3fc3
commit 57b283facd
3 changed files with 4 additions and 4 deletions

View File

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