Skip to content

Commit ba22034

Browse files
author
Peter Amstutz
committed
Use builder.outdir (container) not passed in outdir (host).
1 parent ff29a9a commit ba22034

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cwltool/command_line_tool.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -677,8 +677,8 @@ def collect_output(self,
677677
globpatterns.extend(aslist(gb))
678678

679679
for gb in globpatterns:
680-
if gb.startswith(outdir):
681-
gb = gb[len(outdir) + 1:]
680+
if gb.startswith(builder.outdir):
681+
gb = gb[len(builder.outdir) + 1:]
682682
elif gb == ".":
683683
gb = outdir
684684
elif gb.startswith("/"):

0 commit comments

Comments
 (0)