diff options
| author | Ailin Nemui | 2017-03-14 23:27:18 +0100 |
|---|---|---|
| committer | Ailin Nemui | 2017-03-14 23:27:30 +0100 |
| commit | 43ec4348ea43312073cd48312278812b63e4f850 (patch) | |
| tree | 61919d1d6c03a12fdb78b5d10ee926705d5496b8 /_testing/travis | |
| parent | 2ea55586c7a5a90b30a9e5b7c40da5b95bc046d7 (diff) | |
| download | scripts.irssi.org-43ec4348ea43312073cd48312278812b63e4f850.tar.bz2 | |
autocommit script commands
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"; |
