forked from mirrors/nixpkgs
maintainers/fix-maintainers.pl: ignore case
as this script would otherwise create a bunch of somewhat unnecessary/noisy renames that aren't "actual" renames
This commit is contained in:
parent
7c0f98bba5
commit
756e89e6ef
|
@ -42,7 +42,7 @@ while(my($k, $v) = each %$maintainers_json) {
|
||||||
}
|
}
|
||||||
my $resp_json = from_json($resp->content);
|
my $resp_json = from_json($resp->content);
|
||||||
my $api_user = %$resp_json{"login"};
|
my $api_user = %$resp_json{"login"};
|
||||||
if ($current_user ne $api_user) {
|
if (lc($current_user) ne lc($api_user)) {
|
||||||
print $current_user . " is now known on github as " . $api_user . ". Editing maintainer-list.nix…\n";
|
print $current_user . " is now known on github as " . $api_user . ". Editing maintainer-list.nix…\n";
|
||||||
my $file = path($maintainers_list_nix);
|
my $file = path($maintainers_list_nix);
|
||||||
my $data = $file->slurp_utf8;
|
my $data = $file->slurp_utf8;
|
||||||
|
|
Loading…
Reference in a new issue