[license script] sort names case insensitive

remotes/origin/enc_quick_fix_8.1
Morris Jobke 11 years ago
parent 160d8003f8
commit cdb0e62e9b
  1. 2
      build/license.php

@ -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) {

Loading…
Cancel
Save