Skip to content
Snippets Groups Projects
Commit d03b8be7 authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Make curl pipable

parent 0d14a49a
No related branches found
No related tags found
No related merge requests found
......@@ -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))
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment