guix-commits
[Top][All Lists]
Advanced

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

02/06: profiles: Slightly improve the instructions in 'etc/profile'.


From: Ludovic Courtès
Subject: 02/06: profiles: Slightly improve the instructions in 'etc/profile'.
Date: Fri, 7 Apr 2017 17:36:49 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 5537f2d27925abc05550eff35d13e1347d60dca5
Author: Ludovic Courtès <address@hidden>
Date:   Fri Apr 7 22:26:12 2017 +0200

    profiles: Slightly improve the instructions in 'etc/profile'.
    
    * guix/build/profiles.scm (build-etc/profile): Fix typo in comment.
    Add backslash in the generated shell comment.
---
 guix/build/profiles.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/guix/build/profiles.scm b/guix/build/profiles.scm
index 42eabfa..5c96fe9 100644
--- a/guix/build/profiles.scm
+++ b/guix/build/profiles.scm
@@ -75,14 +75,14 @@ definitions for all the SEARCH-PATHS."
       ;;   source ~/.guix-profile/etc/profile ~/.guix-profile
       ;;
       ;; However, when 'source' is used with no arguments, $1 refers to the
-      ;; first positional parameter of the calling scripts, so we can rely on
-      ;; it.
+      ;; first positional parameter of the calling script, so we cannot rely
+      ;; on it.
       (display "\
 # Source this file to define all the relevant environment variables in Bash
 # for this profile.  You may want to define the 'GUIX_PROFILE' environment
 # variable to point to the \"visible\" name of the profile, like this:
 #
-#  GUIX_PROFILE=/path/to/profile
+#  GUIX_PROFILE=/path/to/profile \\
 #  source /path/to/profile/etc/profile
 #
 # When GUIX_PROFILE is undefined, the various environment variables refer



reply via email to

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