nix.sh: Be set -u compliant.

This commit is contained in:
Shea Levy 2019-02-14 13:24:16 -05:00
parent d8fe447139
commit e58a71442a
No known key found for this signature in database
GPG Key ID: 5C0BD6957D86FE27

View File

@ -75,7 +75,7 @@ if [ -n "$HOME" ] && [ -n "$USER" ]; then
export NIX_SSL_CERT_FILE="$NIX_LINK/etc/ca-bundle.crt"
fi
if [ -n "${MANPATH}" ]; then
if [ -n "${MANPATH-}" ]; then
export MANPATH="$NIX_LINK/share/man:$MANPATH"
fi