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

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

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

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

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index f75cd910e5..c3d737bbda 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -42,6 +42,7 @@
 ;;; Copyright © 2020 divoplade <[email-masked]>
 ;;; Copyright © 2021 Xinglu Chen <[email-masked]>
 ;;; Copyright © 2021 Benoit Joly <[email-masked]>
+;;; Copyright © 2021 Sarah Morgensen <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -2875,8 +2876,8 @@ powerful user customization features.")
                  (append
                   (list "smrsh/smrsh.c" "sendmail/conf.c" "contrib/mailprio"
                         "contrib/mmuegel" "devtools/bin/configure.sh")
-                  (find-files "." ".*\\.m4")
-                  (find-files "." ".*\\.cf"))
+                  (find-files "." "\\.m4$")
+                  (find-files "." "\\.cf$"))
                (("/bin/sh") (which "sh")))
 
              (substitute* "devtools/bin/Build"
-- 
2.31.1