diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-11-20 18:41:47 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-11-20 18:43:10 +0100 |
commit | bd7e136d295f0d6c1aa5d107356e28c259a54cb9 (patch) | |
tree | 38aeb48fb5991c2e90f9d7c35fa835acd527c5d2 /gnu | |
parent | 4b1ba80cef69b951a72e1dfd04bb3ddc5f4e571c (diff) | |
download | patches-bd7e136d295f0d6c1aa5d107356e28c259a54cb9.tar patches-bd7e136d295f0d6c1aa5d107356e28c259a54cb9.tar.gz |
Add semicolon in commands that set GUIX_PROFILE.
Fixes <https://bugs.gnu.org/28223>.
Reported by Rosebud Uplink <Uplink.Introversion@outlook.com>.
* doc/guix.texi (Binary Installation): Add missing semicolon after
'GUIX_PROFILE=' line.
(Invoking guix package): Likewise.
* gnu/system.scm (operating-system-etc-service)[profile]: Likewise.
* guix/build/profiles.scm (build-etc/profile): Likewise.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/system.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/system.scm b/gnu/system.scm index 9e05c4b213..7466ed780d 100644 --- a/gnu/system.scm +++ b/gnu/system.scm @@ -588,7 +588,7 @@ export XCURSOR_PATH=$HOME/.icons:$HOME/.guix-profile/share/icons:/run/current-sy unset PATH # Load the system profile's settings. -GUIX_PROFILE=/run/current-system/profile \\ +GUIX_PROFILE=/run/current-system/profile ; \\ . /run/current-system/profile/etc/profile # Prepend setuid programs. @@ -608,7 +608,7 @@ fi if [ -f \"$HOME/.guix-profile/etc/profile\" ] then # Load the user profile's settings. - GUIX_PROFILE=\"$HOME/.guix-profile\" \\ + GUIX_PROFILE=\"$HOME/.guix-profile\" ; \\ . \"$HOME/.guix-profile/etc/profile\" else # At least define this one so that basic things just work |