Skip to content

Commit

Permalink
Squashed 'gitstatus/' changes from 6eb490ab..b226d8e0
Browse files Browse the repository at this point in the history
b226d8e0 bug fix: don't crap out when TMPDIR is unset

git-subtree-dir: gitstatus
git-subtree-split: b226d8e060db82ac68f1b00c49d1fc85abdbe56e
  • Loading branch information
romkatv committed Jan 26, 2022
1 parent 5014de0 commit bee6e09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit bee6e09

Please sign in to comment.