summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-03-21 23:22:19 +0100
committerLudovic Courtès <ludo@gnu.org>2020-03-22 00:02:23 +0100
commit3c69701f9735dd62a2f765b8bd23a7eaeb391412 (patch)
tree7e5da47be88c0ea5da0a0fc095ad9e1b2de5ed3c /etc
parent4a6ec23a9780bd75a7e527bd0dfb1943347869bb (diff)
downloadpatches-3c69701f9735dd62a2f765b8bd23a7eaeb391412.tar
patches-3c69701f9735dd62a2f765b8bd23a7eaeb391412.tar.gz
guix-install.sh: Add a trailing colon to 'INFOPATH'.
Fixes <https://bugs.gnu.org/39984>. Suggested by Adam Porter <adam@alphapapa.net>. * etc/guix-install.sh (sys_create_init_profile): Add a trailing colon to 'INFOPATH'.
Diffstat (limited to 'etc')
-rwxr-xr-xetc/guix-install.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index e7f4d2cd59..d7fde7aacd 100755
--- a/etc/guix-install.sh
+++ b/etc/guix-install.sh
@@ -414,7 +414,9 @@ if [ -L $_GUIX_PROFILE ]; then
export PATH="$_GUIX_PROFILE/bin${PATH:+:}$PATH"
# Export INFOPATH so that the updated info pages can be found
# and read by both /usr/bin/info and/or $GUIX_PROFILE/bin/info
- export INFOPATH="$_GUIX_PROFILE/share/info${INFOPATH:+:}$INFOPATH"
+ # When INFOPATH is unset, add a trailing colon so that Emacs
+ # searches 'Info-default-directory-list'.
+ export INFOPATH="$_GUIX_PROFILE/share/info:$INFOPATH"
fi
# GUIX_PROFILE: User's default profile