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

From: Sarah Morgensen <[email-masked]>
Date: Sun, 1 Aug 2021 14:18:42 -0700

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

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

diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm
index 223a23f5fc..47cca0c3ab 100644
--- a/gnu/packages/admin.scm
+++ b/gnu/packages/admin.scm
@@ -2006,9 +2006,9 @@ command.")
                    (install-file file target)))
 
                (for-each (copy-man-page man1)
-                         (find-files "." "\\.1"))
+                         (find-files "." "\\.1$"))
                (for-each (copy-man-page man8)
-                         (find-files "." "\\.8"))
+                         (find-files "." "\\.8$"))
                #t))))
 
       #:make-flags (list (string-append "CC=" ,(cc-for-target))
-- 
2.31.1