projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5c3c04a
)
2492: Properly escape Docker image name in Crunch.
author
Brett Smith <brett@curoverse.com>
Thu, 8 May 2014 13:34:33 +0000
(09:34 -0400)
committer
Brett Smith <brett@curoverse.com>
Thu, 8 May 2014 13:34:33 +0000
(09:34 -0400)
sdk/cli/bin/crunch-job
patch
|
blob
|
history
diff --git
a/sdk/cli/bin/crunch-job
b/sdk/cli/bin/crunch-job
index 48226d391edaf0b73011d395ff11a9540e3461b5..5d3bfdff7905becb8e141218af552de3ce3e9504 100755
(executable)
--- a/
sdk/cli/bin/crunch-job
+++ b/
sdk/cli/bin/crunch-job
@@
-655,7
+655,7
@@
for (my $todo_ptr = 0; $todo_ptr <= $#jobstep_todo; $todo_ptr ++)
{
$command .= "-e \Q$env_key=$env_val\E ";
}
- $command .= "
$docker_image
";
+ $command .= "
\Q$docker_image\E
";
}
$command .= "$ENV{CRUNCH_SRC}/crunch_scripts/" . $Job->{"script"};
my @execargs = ('bash', '-c', $command);