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