Browse Source

[license script] sort names case insensitive

tags/v8.1RC2
Morris Jobke 9 years ago
parent
commit
cdb0e62e9b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      build/license.php

+ 1
- 1
build/license.php 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) {

Loading…
Cancel
Save