guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

02/08: guix-install.sh: Add a trailing colon to 'INFOPATH'.


From: guix-commits
Subject: 02/08: guix-install.sh: Add a trailing colon to 'INFOPATH'.
Date: Sat, 21 Mar 2020 19:02:34 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 3c69701f9735dd62a2f765b8bd23a7eaeb391412
Author: Ludovic Courtès <address@hidden>
AuthorDate: Sat Mar 21 23:22:19 2020 +0100

    guix-install.sh: Add a trailing colon to 'INFOPATH'.
    
    Fixes <https://bugs.gnu.org/39984>.
    Suggested by Adam Porter <address@hidden>.
    
    * etc/guix-install.sh (sys_create_init_profile): Add a trailing colon to
    'INFOPATH'.
---
 etc/guix-install.sh | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/etc/guix-install.sh b/etc/guix-install.sh
index e7f4d2c..d7fde7a 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]