GNU bug report logs - #41521
[PATCH] build: substitute*: Fix typo in example.

Previous Next

Package: guix-patches;

Reported by: Efraim Flashner <efraim <at> flashner.co.il>

Date: Mon, 25 May 2020 07:49:01 UTC

Severity: normal

Tags: patch

Done: Efraim Flashner <efraim <at> flashner.co.il>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Efraim Flashner <efraim <at> flashner.co.il>
Subject: bug#41521: closed (Re: [PATCH] build: substitute*: Fix typo in
 example.)
Date: Mon, 25 May 2020 07:57:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#41521: [PATCH] build: substitute*: Fix typo in example.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 41521 <at> debbugs.gnu.org.

-- 
41521: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41521
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Efraim Flashner <efraim <at> flashner.co.il>
To: 41521-done <at> debbugs.gnu.org
Subject: Re: [PATCH] build: substitute*: Fix typo in example.
Date: Mon, 25 May 2020 10:55:30 +0300
[Message part 3 (text/plain, inline)]
Patch pushed to core-updates


-- 
Efraim Flashner   <efraim <at> flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted
[signature.asc (application/pgp-signature, inline)]
[Message part 5 (message/rfc822, inline)]
From: Efraim Flashner <efraim <at> flashner.co.il>
To: guix-patches <at> gnu.org
Cc: Efraim Flashner <efraim <at> flashner.co.il>
Subject: [PATCH] build: substitute*: Fix typo in example.
Date: Mon, 25 May 2020 10:47:44 +0300
* guix/build/utils.scm (substitute*): Fix typo in example in docstring,
use consistent variable names.
---

The variable is 'letters' on the line above, so it should be 'letters'
on the replacement line too.

---
 guix/build/utils.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/guix/build/utils.scm b/guix/build/utils.scm
index 419c10195b..bcae0f758a 100644
--- a/guix/build/utils.scm
+++ b/guix/build/utils.scm
@@ -800,7 +800,7 @@ sub-expression.  For example:
      ((\"hello\")
       \"good morning\\n\")
      ((\"foo([a-z]+)bar(.*)$\" all letters end)
-      (string-append \"baz\" letter end)))
+      (string-append \"baz\" letters end)))
 
 Here, anytime a line of FILE contains \"hello\", it is replaced by \"good
 morning\".  Anytime a line of FILE matches the second regexp, ALL is bound to
-- 
2.26.2




This bug report was last modified 5 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.