mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-12-24 16:11:57 +00:00
Squashed 'gitstatus/' changes from 6eb490ab..b226d8e0
b226d8e0 bug fix: don't crap out when TMPDIR is unset git-subtree-dir: gitstatus git-subtree-split: b226d8e060db82ac68f1b00c49d1fc85abdbe56e
This commit is contained in:
parent
5014de0541
commit
bee6e09262
1 changed files with 1 additions and 1 deletions
2
install
2
install
|
@ -245,7 +245,7 @@ END
|
|||
return 1
|
||||
fi
|
||||
|
||||
if [ -n "$TMPDIR" -a '(' '(' -d "$TMPDIR" -a -w "$TMPDIR" ')' -o '!' '(' -d /tmp -a -w /tmp ')' ')' ]; then
|
||||
if [ -n "${TMPDIR-}" -a '(' '(' -d "${TMPDIR-}" -a -w "${TMPDIR-}" ')' -o '!' '(' -d /tmp -a -w /tmp ')' ')' ]; then
|
||||
local tmp="$TMPDIR"
|
||||
else
|
||||
local tmp=/tmp
|
||||
|
|
Loading…
Reference in a new issue