gnu: jalv-select: Fix regular expression.
authorRicardo Wurmus <rekado@elephly.net>
Fri, 5 May 2017 07:47:43 +0000 (09:47 +0200)
committerRicardo Wurmus <rekado@elephly.net>
Fri, 5 May 2017 07:47:43 +0000 (09:47 +0200)
* gnu/packages/music.scm (jalv-select)[arguments]: Fix substitution to find
the available jalv executables.

gnu/packages/music.scm

index 3efbd91..850eef3 100644 (file)
@@ -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"))