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 19/34] gnu: kaldi: Fix regex in FIND-FILES invocation.
Date: Sun,  1 Aug 2021 14:21:01 -0700
See <https://issues.guix.gnu.org/37150> for more information.

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

diff --git a/gnu/packages/machine-learning.scm b/gnu/packages/machine-learning.scm
index 8337ae9a27..13998e5824 100644
--- a/gnu/packages/machine-learning.scm
+++ b/gnu/packages/machine-learning.scm
@@ -1392,12 +1392,12 @@ discrete, and conditional dimensions.")
                              (let ((target (readlink file)))
                                (delete-file file)
                                (install-file target lib)))
-                           (find-files lib "\\.so"))
+                           (find-files lib "\\.so[\\.0-9]*$"))
                  ;; Install headers
                  (for-each (lambda (file)
                              (let ((target-dir (string-append inc "/" (dirname file))))
                                (install-file file target-dir)))
-                           (find-files "." "\\.h"))
+                           (find-files "." "\\.h$"))
                  (install-file "gst-plugin/libgstonlinegmmdecodefaster.so"
                                (string-append lib "/gstreamer-1.0"))
                  #t))))))
-- 
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.