compile: special-case 'gitweb' and 'daemon' from the linting

not a big deal since there's a very simple and obvious workaround -- create a
new keypair, throw away the private key, and use the pubkey
This commit is contained in:
Sitaram Chamarty 2009-10-03 10:55:30 +05:30
parent 1b9969f3d6
commit c15c75749b

View file

@ -339,7 +339,7 @@ for my $pubkey (glob("*"))
# lint check 3; a little more severe than the first two I guess... # lint check 3; a little more severe than the first two I guess...
for my $user (sort keys %user_list) for my $user (sort keys %user_list)
{ {
next if $user eq '@all' or $user_list{$user} eq 'has pubkey'; next if $user =~ /^(gitweb|daemon|\@all)$/ or $user_list{$user} eq 'has pubkey';
print STDERR "$ATTN user $user in config, but has no pubkey!\n"; print STDERR "$ATTN user $user in config, but has no pubkey!\n";
} }