summaryrefslogtreecommitdiff
path: root/guix/build/utils.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2020-05-25 10:46:43 +0300
committerEfraim Flashner <efraim@flashner.co.il>2020-05-25 10:51:19 +0300
commitff6e33e7ee9fd25531fc02bba4af0d1a83237f12 (patch)
tree818e966076e161b391ef3018fadc4811d04da4b7 /guix/build/utils.scm
parent8c42a25b77e5cb8c97dacfdd552811a820d674eb (diff)
build: substitute*: Fix typo in example.
* guix/build/utils.scm (substitute*): Fix typo in example in docstring, use consistent variable names.
Diffstat (limited to 'guix/build/utils.scm')
-rw-r--r--guix/build/utils.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/build/utils.scm b/guix/build/utils.scm
index 419c10195b..dc55c6745d 100644
--- a/guix/build/utils.scm
+++ b/guix/build/utils.scm
@@ -5,6 +5,7 @@
;;; Copyright © 2015, 2018 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2018 Arun Isaac <arunisaac@systemreboot.net>
;;; Copyright © 2018, 2019 Ricardo Wurmus <rekado@elephly.net>
+;;; Copyright © 2020 Efraim Flashner <efraim@flashner.co.il>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -800,7 +801,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