Commit e8c1e51c authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

bugfix: join_command_args() returns an array, not a ref

parent 5af19ca4
......@@ -356,7 +356,7 @@ sub run_pipeline_create_commands {
foreach my $cmd (@{$self->overridable_pipeline_create_commands}) {
# We allow commands to be given as an arrayref, but we join the
# array elements anyway
my $cmd = join_command_args($cmd)->[1];
(my $dummy,$cmd) = join_command_args($cmd);
warn "Running the command:\n\t$cmd\n";
if(my $retval = system($cmd)) {
die "Return value = $retval, possibly an error\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment