Skip to content

Commit f6fc9f4

Browse files
committed
Bugfix execution of bash script
1 parent 5a65bd0 commit f6fc9f4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

SequenceAnalysis/src/org/labkey/sequenceanalysis/run/analysis/MergeLoFreqVcfHandler.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -720,7 +720,8 @@ private void sortTsvFile(JobContext ctx, File input) throws PipelineJobException
720720
}
721721

722722
SimpleScriptWrapper wrapper = new SimpleScriptWrapper(ctx.getLogger());
723-
wrapper.execute(Arrays.asList("/bin/bash", "script.sh"));
723+
wrapper.setWorkingDir(script.getParentFile());
724+
wrapper.execute(Arrays.asList("/bin/bash", script.getPath()));
724725

725726
input.delete();
726727
script.delete();

0 commit comments

Comments
 (0)