aboutsummaryrefslogtreecommitdiff
path: root/scripts/nix-profile.sh.in
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2019-02-14 13:24:16 -0500
committerShea Levy <shea@shealevy.com>2019-02-14 13:24:16 -0500
commite58a71442ad4a538b48fc7a9938c3690628c4741 (patch)
tree225b82844b1d9df10c12ebf3f435211ffc1537ed /scripts/nix-profile.sh.in
parentd8fe447139624082681e477900b0f7a798ff375a (diff)
nix.sh: Be set -u compliant.
Diffstat (limited to 'scripts/nix-profile.sh.in')
-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 a5f52274f..db03e16ba 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