diff options
author | Pascal Terjan <pterjan@gmail.com> | 2013-10-22 10:02:34 +0000 |
---|---|---|
committer | Pascal Terjan <pterjan@gmail.com> | 2013-10-22 10:04:05 +0000 |
commit | a8305296040b34be4dc21c33bbd65a7a38fa5c60 (patch) | |
tree | b330166533435fc7dfe28a447d007513e55f96d6 | |
parent | e1d3529dd4dfc1fc526055363420826bc4dfacd4 (diff) | |
download | release-a8305296040b34be4dc21c33bbd65a7a38fa5c60.tar release-a8305296040b34be4dc21c33bbd65a7a38fa5c60.tar.gz release-a8305296040b34be4dc21c33bbd65a7a38fa5c60.tar.bz2 release-a8305296040b34be4dc21c33bbd65a7a38fa5c60.tar.xz release-a8305296040b34be4dc21c33bbd65a7a38fa5c60.zip |
Randomize build order
-rwxr-xr-x | rebuild-packages | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/rebuild-packages b/rebuild-packages index c23d59f..f1d2fba 100755 --- a/rebuild-packages +++ b/rebuild-packages @@ -6,6 +6,7 @@ use Youri::Package::RPM::Updater; use LWP::UserAgent; use MDK::Common; use Cwd; +use List::Util qw(shuffle); my $status_page = 'http://pkgsubmit.mageia.org/'; my $svn_root = 'svn+ssh://svn.mageia.org/svn/packages/cauldron/'; @@ -18,7 +19,7 @@ print $ci_fh $commit_msg; close $ci_fh; sub list_from_file { - chomp_(cat_($_[0])); + shuffle(chomp_(cat_($_[0]))); } sub get_bs_queue_todo() { |