diff options
author | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2022-01-26 18:04:09 +0300 |
---|---|---|
committer | Roman Perepelitsa <roman.perepelitsa@gmail.com> | 2022-01-26 18:04:09 +0300 |
commit | 4f143b7b978e90ac7f36c77d71eaacc29baaec16 (patch) | |
tree | 62af1c7a52a9ce5e56218def80902700ff54d81e | |
parent | d6f8c477617d57363d0e2c28977ef815e5a675a2 (diff) | |
parent | bee6e09262a6145fc178ddc85c656da4bb83a9a9 (diff) |
Merge commit 'bee6e09262a6145fc178ddc85c656da4bb83a9a9'
-rwxr-xr-x | gitstatus/install | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gitstatus/install b/gitstatus/install index 6e027a3b..76f339e0 100755 --- a/gitstatus/install +++ b/gitstatus/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 |