Commit d03b8be7 authored by Peter van 't Hof's avatar Peter van 't Hof

Make curl pipable

parent 0d14a49a
......@@ -34,5 +34,5 @@ class Curl(val root: Configurable) extends BiopetCommandLineFunction with Versio
def versionCommand = executable + " --version"
def versionRegex = """curl (\w+\.\w+\.\w+) .*""".r
def cmdLine: String = required(executable) + required(url) + " > " + required(output)
def cmdLine: String = required(executable) + required(url) + (if (outputAsStsout) "" else " > " + required(output))
}
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