[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/10: home: shells: Do not escape backslashes in single-quoted strings.
From: |
guix-commits |
Subject: |
01/10: home: shells: Do not escape backslashes in single-quoted strings. |
Date: |
Thu, 5 Jan 2023 17:22:45 -0500 (EST) |
civodul pushed a commit to branch master
in repository guix.
commit e7da6dd6d653d8edb35079f3aeb345406e20bea7
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Thu Jan 5 15:36:29 2023 +0100
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.
---
gnu/home/services.scm | 4 ++--
1 file 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
- branch master updated (80902fc210 -> 6f8a03fad3), guix-commits, 2023/01/05
- 07/10: gnu: Add charls., guix-commits, 2023/01/05
- 01/10: home: shells: Do not escape backslashes in single-quoted strings.,
guix-commits <=
- 05/10: doc: Introduce using swap space for hibernation, with examples., guix-commits, 2023/01/05
- 02/10: gnu: Add emacs-ibrowse., guix-commits, 2023/01/05
- 08/10: gnu: kicad: Update to 6.0.10., guix-commits, 2023/01/05
- 10/10: gnu: zfs: Update to 2.1.7., guix-commits, 2023/01/05
- 03/10: gnu: Add zls., guix-commits, 2023/01/05
- 06/10: gnu: gpodder: Update to 3.11.0., guix-commits, 2023/01/05
- 04/10: gnu: Add yaru-theme, guix-commits, 2023/01/05
- 09/10: gnu: flightgear: Update to 2020.3.17., guix-commits, 2023/01/05