[license script] sort names case insensitive

This commit is contained in:
Morris Jobke 2015-06-25 11:43:07 +02:00
parent 160d8003f8
commit cdb0e62e9b

View file

@ -144,7 +144,7 @@ EOD;
}
private function getAuthors($file) {
$out = shell_exec("git blame --line-porcelain $file | sed -n 's/^author //p;s/^author-mail //p' | sed 'N;s/\\n/ /' | sort | uniq");
$out = shell_exec("git blame --line-porcelain $file | sed -n 's/^author //p;s/^author-mail //p' | sed 'N;s/\\n/ /' | sort -f | uniq");
$authors = explode(PHP_EOL, $out);
$authors = array_filter($authors, function($author) {