diff options
author | Shea Levy <shea@shealevy.com> | 2019-02-14T18·24-0500 |
---|---|---|
committer | Shea Levy <shea@shealevy.com> | 2019-02-14T18·24-0500 |
commit | e58a71442ad4a538b48fc7a9938c3690628c4741 (patch) | |
tree | 225b82844b1d9df10c12ebf3f435211ffc1537ed | |
parent | d8fe447139624082681e477900b0f7a798ff375a (diff) |
nix.sh: Be set -u compliant.
-rw-r--r-- | scripts/nix-profile.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-profile.sh.in b/scripts/nix-profile.sh.in index a5f52274fc70..db03e16ba89a 100644 --- a/scripts/nix-profile.sh.in +++ b/scripts/nix-profile.sh.in @@ -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 |