Skip to content

Commit 4f143b7

Browse files
committed
Merge commit 'bee6e09262a6145fc178ddc85c656da4bb83a9a9'
2 parents d6f8c47 + bee6e09 commit 4f143b7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

gitstatus/install

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ END
245245
return 1
246246
fi
247247

248-
if [ -n "$TMPDIR" -a '(' '(' -d "$TMPDIR" -a -w "$TMPDIR" ')' -o '!' '(' -d /tmp -a -w /tmp ')' ')' ]; then
248+
if [ -n "${TMPDIR-}" -a '(' '(' -d "${TMPDIR-}" -a -w "${TMPDIR-}" ')' -o '!' '(' -d /tmp -a -w /tmp ')' ')' ]; then
249249
local tmp="$TMPDIR"
250250
else
251251
local tmp=/tmp

0 commit comments

Comments
 (0)