Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 008abb6

Browse files
author
Michael Grauer
committed
BUG: Refs #212. Fixed bug where referencing non-existent variables $cmd_output
1 parent 8a5abd6 commit 008abb6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/batchmake/controllers/components/KWBatchmakeComponent.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -546,7 +546,7 @@ public function compileBatchMakeScript($workDir, $bmScript)
546546
}
547547
}
548548

549-
throw new Zend_Exception("Error in BatchMake script, the compile step didn't report errors, output: [".implode(",", $cmd_output )."]");
549+
throw new Zend_Exception("Error in BatchMake script, the compile step didn't report errors, output: [".implode(",", $output )."]");
550550
}
551551

552552

@@ -575,7 +575,7 @@ public function generateCondorDag($workDir, $bmScript)
575575

576576
if($returnVal !== 0)
577577
{
578-
throw new Zend_Exception("Failed to run: [".$cmd."], output: [".implode(",", $cmd_output )."]");
578+
throw new Zend_Exception("Failed to run: [".$cmd."], output: [".implode(",", $output )."]");
579579
}
580580
return $dagName;
581581
}
@@ -598,7 +598,7 @@ public function condorSubmitDag($workDir, $dagScript)
598598

599599
if($returnVal !== 0)
600600
{
601-
throw new Zend_Exception("Failed to run: [".$cmd."], output: [".implode(",", $cmd_output )."]");
601+
throw new Zend_Exception("Failed to run: [".$cmd."], output: [".implode(",", $output )."]");
602602
}
603603
}
604604

0 commit comments

Comments
 (0)