aboutsummaryrefslogtreecommitdiff
path: root/test/lint/lint-python-shebang.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/lint/lint-python-shebang.sh')
-rwxr-xr-xtest/lint/lint-python-shebang.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/lint/lint-python-shebang.sh b/test/lint/lint-python-shebang.sh
index f5c5971c03..031487a91a 100755
--- a/test/lint/lint-python-shebang.sh
+++ b/test/lint/lint-python-shebang.sh
@@ -1,5 +1,7 @@
#!/bin/bash
# Shebang must use python3 (not python or python2)
+
+export LC_ALL=C
EXIT_CODE=0
for PYTHON_FILE in $(git ls-files -- "*.py"); do
if [[ $(head -c 2 "${PYTHON_FILE}") == "#!" &&