diff options
| author | Simon Josefsson <simon@josefsson.org> | 2025-11-29 17:09:14 +0100 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-16 20:15:50 +0100 |
| commit | e67189651f8909fbe0ed677c8e41ad12926a8c1e (patch) | |
| tree | 544935cca40a0947e6f0507b90e1e291e63ddad5 /etc | |
| parent | 2cb6948dc22c710404bebeab987feea1b777cb14 (diff) | |
guix-install.sh: Make /etc/profile.d/zzz-guix.sh usable in set -u shells
* etc/guix-install.sh: Replace $INFOPATH, $MANPATH with ${V:-} variant.
Closes: guix/guix#4534
Change-Id: I82da28d1347b1f37862b903f1721d9bdbb78acd2
Signed-off-by: Rutherther <rutherther@ditigal.xyz>
Merges: #4553
Diffstat (limited to 'etc')
| -rwxr-xr-x | etc/guix-install.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/guix-install.sh b/etc/guix-install.sh index c153cd1c28e..1b2b978c34a 100755 --- a/etc/guix-install.sh +++ b/etc/guix-install.sh @@ -793,8 +793,8 @@ export PATH="$GUIX_PROFILE/bin${PATH:+:}$PATH" # info and man readers. When INFOPATH is unset, add a trailing colon so Emacs # searches 'Info-default-directory-list'. When MANPATH is unset, add a # trailing colon so the system default search path is used. -export INFOPATH="$GUIX_PROFILE/share/info:$INFOPATH" -export MANPATH="$GUIX_PROFILE/share/man:$MANPATH" +export INFOPATH="$GUIX_PROFILE/share/info:${INFOPATH:-}" +export MANPATH="$GUIX_PROFILE/share/man:${MANPATH:-}" # User's default profile, if it exists GUIX_PROFILE="$HOME/.guix-profile" |
