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

Changes ; to &&, is saver

parent 6522adee
No related branches found
No related tags found
No related merge requests found
......@@ -87,7 +87,7 @@ class Star(val root: Configurable) extends BiopetCommandLineFunction with Refere
/** Returns command to execute */
def cmdLine = {
var cmd: String = required("cd", outputDir) + "&&" + required(executable)
var cmd: String = required("cd", outputDir) + " && " + required(executable)
if (runmode != null && runmode == "genomeGenerate") { // Create index
cmd += required("--runMode", runmode) +
required("--genomeFastaFiles", reference)
......
......@@ -30,7 +30,7 @@ class Bowtie2Build(val root: Configurable) extends BiopetCommandLineFunction {
outputFiles ::= new File(reference.getParentFile, baseName + ".2.bt2")
}
def cmdLine = required("cd", reference.getParentFile) + "; " +
def cmdLine = required("cd", reference.getParentFile) + " && " +
required(executable) +
required(reference) +
required(baseName)
......
......@@ -30,7 +30,7 @@ class BowtieBuild(val root: Configurable) extends BiopetCommandLineFunction {
outputFiles ::= new File(reference.getParentFile, baseName + ".2.ebwt")
}
def cmdLine = required("cd", reference.getParentFile) + "; " +
def cmdLine = required("cd", reference.getParentFile) + " && " +
required(executable) +
required(reference) +
required(baseName)
......
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