summaryrefslogtreecommitdiffstats
path: root/_testing/travis/update-scripts-yaml.pl
diff options
context:
space:
mode:
Diffstat (limited to '_testing/travis/update-scripts-yaml.pl')
-rw-r--r--_testing/travis/update-scripts-yaml.pl5
1 files changed, 5 insertions, 0 deletions
diff --git a/_testing/travis/update-scripts-yaml.pl b/_testing/travis/update-scripts-yaml.pl
index 0ed52ac..e554f33 100644
--- a/_testing/travis/update-scripts-yaml.pl
+++ b/_testing/travis/update-scripts-yaml.pl
@@ -46,6 +46,11 @@ for my $file (<scripts/*.pl>) {
$newmeta{$filename}{modules}
= join ' ', @$modules
if 'ARRAY' eq ref $modules;
+ my $commands = delete $newmeta{$filename}{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";