diff options
author | Ludovic Courtès <ludo@gnu.org> | 2023-01-05 15:36:29 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2023-01-05 15:36:29 +0100 |
commit | e7da6dd6d653d8edb35079f3aeb345406e20bea7 (patch) | |
tree | fae14dd2d4cb966eed832e01174ddfcc01ed54e9 /gnu/home/services.scm | |
parent | 80902fc210d8dc28e14d63d68f398aef796b5838 (diff) | |
download | guix-e7da6dd6d653d8edb35079f3aeb345406e20bea7.tar guix-e7da6dd6d653d8edb35079f3aeb345406e20bea7.tar.gz |
home: shells: Do not escape backslashes in single-quoted strings.
This is a followup to 73684dc90e013f2f0cca1097b0c944bb9aa88709.
* gnu/home/services.scm (environment-variable-shell-definitions)
[shell-single-quote]: Remove #\\ from the escape list.
Diffstat (limited to 'gnu/home/services.scm')
-rw-r--r-- | gnu/home/services.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/home/services.scm b/gnu/home/services.scm index 692354c644..b003c3006b 100644 --- a/gnu/home/services.scm +++ b/gnu/home/services.scm @@ -1,7 +1,7 @@ ;;; GNU Guix --- Functional package management for GNU ;;; Copyright © 2021 Andrew Tropin <andrew@trop.in> ;;; Copyright © 2021 Xinglu Chen <public@yoctocell.xyz> -;;; Copyright © 2022 Ludovic Courtès <ludo@gnu.org> +;;; Copyright © 2022-2023 Ludovic Courtès <ludo@gnu.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -204,7 +204,7 @@ ensures variable values are properly quoted." (shell-single-quote (lambda (value) ;; Single-quote VALUE to enter a literal string. - (string-append "'" (quote-string value '(#\' #\\)) + (string-append "'" (quote-string value '(#\')) "'")))) (string-append #$@(map (match-lambda |