fixup: new check-g2-compat, lots of migration related changes

This commit is contained in:
Sitaram Chamarty 2012-03-25 11:06:28 +05:30
parent 3ed923f503
commit 8de959476f

View file

@ -85,3 +85,12 @@ sub repo {
msg( WARNING => "found " . scalar(@perms) . " gl-perms files with R or RW; see docs" ); msg( WARNING => "found " . scalar(@perms) . " gl-perms files with R or RW; see docs" );
} }
} }
sub msg {
my ( $type, $text ) = @_;
print "$type" if $type;
print "\t$text\n";
exit 1 if $type eq 'FATAL';
$count{$type}++ if $type;
}