about summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2019-02-14T18·24-0500
committerShea Levy <shea@shealevy.com>2019-02-14T18·24-0500
commite58a71442ad4a538b48fc7a9938c3690628c4741 (patch)
tree225b82844b1d9df10c12ebf3f435211ffc1537ed /scripts
parentd8fe447139624082681e477900b0f7a798ff375a (diff)
nix.sh: Be set -u compliant.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/nix-profile.sh.in2
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