Subject: [PATCH 08/34] gnu: cook: Fix regex in FIND-FILES invocation.

From: Sarah Morgensen <[email-masked]>
Date: Sun, 1 Aug 2021 14:18:48 -0700

See <https://issues.guix.gnu.org/37150> for more information.

* gnu/packages/cook.scm (cook)[arguments]: Fix regex.
---
 gnu/packages/cook.scm | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/cook.scm b/gnu/packages/cook.scm
index ba13709eda..baeb08cfc5 100644
--- a/gnu/packages/cook.scm
+++ b/gnu/packages/cook.scm
@@ -2,6 +2,7 @@
 ;;; Copyright © 2014 John Darrington <[email-masked]>
 ;;; Copyright © 2018 Tobias Geerinckx-Rice <[email-masked]>
 ;;; Copyright © 2020 Marius Bakke <[email-masked]>
+;;; Copyright © 2021 Sarah Morgensen <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -47,7 +48,7 @@
          (add-before 'configure 'pre-conf
            (lambda _
              (substitute* (append '("common/env.c")
-                                  (find-files "test" "\\.sh"))
+                                  (find-files "test" "\\.sh$"))
                (("/bin/sh") (which "sh")))
 
              ;; Guix's binutils (because it wants bit-reproducable builds) is
-- 
2.31.1