From cdb0e62e9b7a537f79f8674bc641fb88ec30c2be Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Thu, 25 Jun 2015 11:43:07 +0200 Subject: [PATCH] [license script] sort names case insensitive --- build/license.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/license.php b/build/license.php index 6e3806e146..214ea3c226 100644 --- a/build/license.php +++ b/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) {