From ad7f6e5f0d618bafc4430b77f6d85892a7762818 Mon Sep 17 00:00:00 2001
From: Ricardo Wurmus <rekado@elephly.net>
Date: Fri, 5 May 2017 09:47:43 +0200
Subject: gnu: jalv-select: Fix regular expression.

* gnu/packages/music.scm (jalv-select)[arguments]: Fix substitution to find
the available jalv executables.
---
 gnu/packages/music.scm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'gnu')

diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index 3efbd9113c..850eef35bc 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -961,7 +961,7 @@ Editor.  It is compatible with Power Tab Editor 1.7 and Guitar Pro.")
          (add-after 'unpack 'ignore-PATH
            (lambda* (#:key inputs #:allow-other-keys)
              (substitute* "jalv.select.cpp"
-               (("echo \\$PATH | tr ':' '\\\n' | xargs ls")
+               (("echo \\$PATH.*tr ':'.*xargs ls")
                 (string-append "ls -1 " (assoc-ref inputs "jalv") "/bin")))
              (substitute* "jalv.select.h"
                (("gtkmm.h") "gtkmm-2.4/gtkmm.h"))
-- 
cgit v1.2.3