diff options
| -rw-r--r-- | _testing/travis/update-scripts-yaml.pl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/_testing/travis/update-scripts-yaml.pl b/_testing/travis/update-scripts-yaml.pl index 29925a3..e554f33 100644 --- a/_testing/travis/update-scripts-yaml.pl +++ b/_testing/travis/update-scripts-yaml.pl @@ -47,9 +47,10 @@ for my $file (<scripts/*.pl>) { = join ' ', @$modules if 'ARRAY' eq ref $modules; my $commands = delete $newmeta{$filename}{commands}; - $newmeta{$filename}{commands} - = join ' ', grep { !/ / } @$commands + my @commands = grep { !/ / } @$commands if 'ARRAY' eq ref $commands; + $newmeta{$filename}{commands} = "@commands" + if @commands; } elsif (exists $oldmeta{$filename}) { print "META-INF FOR $base NOT FOUND\n"; |
