GNU bug report logs - #49813
[PATCH 00/34] Fix regexes in FIND-FILES invocations.

Previous Next

Package: guix-patches;

Reported by: Sarah Morgensen <iskarian <at> mgsn.dev>

Date: Sun, 1 Aug 2021 21:17:02 UTC

Severity: normal

Tags: patch

Done: Andreas Enge <andreas <at> enge.fr>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Sarah Morgensen <iskarian <at> mgsn.dev>
To: 49813 <at> debbugs.gnu.org
Subject: [bug#49813] [PATCH 24/34] gnu: atlas: Fix regex in FIND-FILES invocation.
Date: Sun,  1 Aug 2021 20:27:18 -0700
See <https://issues.guix.gnu.org/37150> for more information.

* gnu/packages/maths.scm (atlas)[arguments]: Fix regex.
---
 gnu/packages/maths.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 61f11c6b52..d9d71a335d 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -4407,14 +4407,14 @@ packages.")
          (add-before 'configure 'fix-/bin/sh
            (lambda _
              ;; Use `sh', not `/bin/sh'.
-             (substitute* (find-files "." "Makefile|configure|SpewMakeInc\\.c")
+             (substitute* (find-files "." "^(Makefile|configure|SpewMakeInc\\.c)$")
                (("/bin/sh")
                 "sh"))
              #t))
          ;; Fix /bin/sh in generated make files.
          (add-after 'configure 'fix-/bin/sh-in-generated-files
            (lambda _
-             (substitute* (find-files "." "^[Mm]ake\\.inc.*")
+             (substitute* (find-files "." "^[Mm]ake\\.inc")
                (("/bin/sh")
                 "sh"))
              #t))
-- 
2.31.1





This bug report was last modified 16 days ago.

Previous Next


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