diff options
| author | Simon Josefsson <simon@josefsson.org> | 2025-11-29 17:09:14 +0100 |
|---|---|---|
| committer | Rutherther <rutherther@ditigal.xyz> | 2026-01-16 20:23:50 +0100 |
| commit | 79cf0fb7a33882b614d766e90231fdcd32d15c7a (patch) | |
| tree | 23f27ec1ebaf8393b91fbfd8772f24cda32c9c0c | |
| parent | 0e4fd181d9c62fa83656f92df185ed15b9d726ad (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
| -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" | |||
| 793 | # info and man readers. When INFOPATH is unset, add a trailing colon so Emacs | 793 | # info and man readers. When INFOPATH is unset, add a trailing colon so Emacs |
| 794 | # searches 'Info-default-directory-list'. When MANPATH is unset, add a | 794 | # searches 'Info-default-directory-list'. When MANPATH is unset, add a |
| 795 | # trailing colon so the system default search path is used. | 795 | # trailing colon so the system default search path is used. |
| 796 | export INFOPATH="$GUIX_PROFILE/share/info:$INFOPATH" | 796 | export INFOPATH="$GUIX_PROFILE/share/info:${INFOPATH:-}" |
| 797 | export MANPATH="$GUIX_PROFILE/share/man:$MANPATH" | 797 | export MANPATH="$GUIX_PROFILE/share/man:${MANPATH:-}" |
| 798 | 798 | ||
| 799 | # User's default profile, if it exists | 799 | # User's default profile, if it exists |
| 800 | GUIX_PROFILE="$HOME/.guix-profile" | 800 | GUIX_PROFILE="$HOME/.guix-profile" |
