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 29/34] gnu: python-cram: Fix regex in FIND-FILES invocation.
Date: Sun,  1 Aug 2021 20:27:23 -0700
See <https://issues.guix.gnu.org/37150> for more information.

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

diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index 6484658c82..8858eb8d1c 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -9747,10 +9747,10 @@ pseudo terminal (pty), and interact with both the process and its pty.")
        (modify-phases %standard-phases
          (add-after 'unpack 'patch-source
            (lambda _
-             (substitute* (find-files "cram" ".*\\.py$")
+             (substitute* (find-files "cram" "\\.py$")
                ;; Replace default shell path.
                (("/bin/sh") (which "sh")))
-             (substitute* (find-files "tests" ".*\\.t$")
+             (substitute* (find-files "tests" "\\.t$")
                (("md5") "md5sum")
                (("/bin/bash") (which "bash"))
                (("/bin/sh") (which "sh")))
-- 
2.31.1





This bug report was last modified 15 days ago.

Previous Next


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