Subject: [bug#49813] [PATCH 23/34] gnu: scotch: Fix regex in FIND-FILES invocation.

From: Sarah Morgensen <[email-masked]>
Date: Sun, 1 Aug 2021 20:27:17 -0700

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

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

diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 1afe72659a..61f11c6b52 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -48,6 +48,7 @@
 ;;; Copyright © 2021 Paul A. Patience <[email-masked]>
 ;;; Copyright © 2021 Ivan Gankevich <[email-masked]>
 ;;; Copyright © 2021 Jean-Baptiste Volatier <[email-masked]>
+;;; Copyright © 2021 Sarah Morgensen <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -3423,10 +3424,10 @@ YACC = bison -pscotchyy -y -b y
                ;; metis files are not installed with 'make install'
                (for-each (lambda (f)
                            (install-file f (string-append out "/include")))
-                         (find-files "../include/" ".*metis\\.h"))
+                         (find-files "../include/" "metis\\.h$"))
                (for-each (lambda (f)
                            (install-file f (string-append out "/lib")))
-                         (find-files "../lib/" ".*metis\\..*"))
+                         (find-files "../lib/" "metis\\."))
                #t))))))
     (home-page "https://www.labri.fr/perso/pelegrin/scotch/")
     (properties
-- 
2.31.1