Merge pull request #9333 from rook/mergify/bp/release-1.8/pr-9332

build: updated locale for rbac generation (backport #9332)
This commit is contained in:
Sébastien Han authored and GitHub committed 2021-12-08 10:01:49 +01:00
commit dc3b41222e
1 file changed
+4
+4
View File
@@ -1,5 +1,9 @@
#!/usr/bin/env bash
set -eEuo pipefail
# setting locate `LC_ALL=C` because different OS do files sorting differently,
# so setting a common behaviour, `C` sorting order is based on the byte values,
# Reference: https://blog.zhimingwang.org/macos-lc_collate-hunt
LC_ALL=C
# READS FROM STDIN
# WRITES TO STDOUT