summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorPeter Kokot <peterkokot@gmail.com>2019-06-23 15:43:25 +0200
committerPeter Kokot <peterkokot@gmail.com>2019-06-26 22:35:55 +0200
commit537844cb1d9ce3b432c617baa17fd46f911bb848 (patch)
tree4b7c1614589c910f0a2d7c79606794a56b70913e /scripts
parent81a403211e4ac9f2914e88554fd6bbf89b8bd6b8 (diff)
downloadphp-git-537844cb1d9ce3b432c617baa17fd46f911bb848.tar.gz
Set Computer English language for credits sorting
This makes the script a bit more portable when used on systems with different LC_ALL and LANG settings.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/dev/credits4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/dev/credits b/scripts/dev/credits
index 5197b7bc19..e59cc109b8 100755
--- a/scripts/dev/credits
+++ b/scripts/dev/credits
@@ -26,8 +26,8 @@ do
*/
END
- # Do not process skeleton #
+ # Do not process skeleton
files=`find "$what" -name CREDITS | grep -v "$what"/skeleton/CREDITS`
- awk "$awkprog" $files | sort -f | uniq >> $file
+ awk "$awkprog" $files | LC_ALL=C sort -f | uniq >> $file
echo "Updated $file"
done