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


Message #107 received at 49813 <at> debbugs.gnu.org (full text, mbox):

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

* gnu/packages/code.scm (rtags)[origin]<snippet>: Fix regex.
---
 gnu/packages/code.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnu/packages/code.scm b/gnu/packages/code.scm
index c71c31d634..c2c248c9a1 100644
--- a/gnu/packages/code.scm
+++ b/gnu/packages/code.scm
@@ -604,7 +604,7 @@ possible to collect coverage information without special compiler switches.")
         ;; Substitute #include "rct/header.h" with #include <rct/header.h>.
         '(with-directory-excursion "src"
            (delete-file-recursively "rct")        ;remove bundled copy
-           (let ((files (find-files "." ".*\\.cpp|.*\\.h")))
+           (let ((files (find-files "." "\\.(cpp|h)$")))
              (substitute* files
                (("#include ?\"rct/(.*.h)\"" all header)
                 (string-append "#include <rct/" header ">")))
-- 
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.