Commit 90d86e6c authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Fixing version regex

parent 394ba9f1
...@@ -52,7 +52,7 @@ class Stringtie(val parent: Configurable) ...@@ -52,7 +52,7 @@ class Stringtie(val parent: Configurable)
def versionCommand: String = executable + " --version" def versionCommand: String = executable + " --version"
/** Regex to get version from version command output */ /** Regex to get version from version command output */
def versionRegex: Regex = ".*".r def versionRegex: Regex = "(.*)".r
def cmdLine: String = def cmdLine: String =
required(executable) + required(executable) +
......
...@@ -37,7 +37,7 @@ class StringtieMerge(val parent: Configurable) ...@@ -37,7 +37,7 @@ class StringtieMerge(val parent: Configurable)
def versionCommand: String = executable + " --version" def versionCommand: String = executable + " --version"
/** Regex to get version from version command output */ /** Regex to get version from version command output */
def versionRegex: Regex = ".*".r def versionRegex: Regex = "(.*)".r
def cmdLine: String = def cmdLine: String =
required(executable) + required(executable) +
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment