mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
422 B

  1. #!/usr/bin/perl -w
  2. #
  3. # Usage: ./checkstages.pl config/default/packages
  4. use strict;
  5. while (<>) {
  6. @_ = split /\s+/;
  7. my ($stages, $pkg) = ($_[1], $_[4]);
  8. # next if $stages =~ /^0123456789$/;
  9. next if $stages =~ /^.1-------.$/;
  10. next if $stages =~ /^..2------.$/;
  11. next if $stages =~ /^..-3-----.$/;
  12. next if $stages =~ /^..---5---.$/;
  13. next if $stages =~ /^..-----7-.$/;
  14. print "Bad stages pattern: $stages $pkg\n";
  15. }