build: updated locale for rbac generation
Currently there was an issue related to sorting files in Rbac generation in different platforms Updated the locale to LC_ALL=C so rbac generation can done correctly Closes: https://github.com/rook/rook/issues/9331 Co-authored-by: Blaine Gardner blaine.gardner@redhat.com Signed-off-by: parth-gr <paarora@redhat.com>
This commit is contained in:
1 parent
1f33859048
commit
3647dec90f
1 file changed
+4
@@ -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
|
||||
|
||||
Reference in new issue
Block a user