aboutsummaryrefslogtreecommitdiff
path: root/test/lint/lint-shell.sh
diff options
context:
space:
mode:
authorpracticalswift <practicalswift@users.noreply.github.com>2018-06-13 16:50:48 +0200
committerpracticalswift <practicalswift@users.noreply.github.com>2018-06-14 15:27:52 +0200
commit3352da8da1243c03fc83ba678d2f5d193bd5a0c2 (patch)
tree6985354b06d98d4d77d1a0c5a6690bddcc5af83e /test/lint/lint-shell.sh
parenta607d23ae82ee374799d21d02932d945c1ce9616 (diff)
Add "export LC_ALL=C" to all shell scripts
Diffstat (limited to 'test/lint/lint-shell.sh')
-rwxr-xr-xtest/lint/lint-shell.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lint/lint-shell.sh b/test/lint/lint-shell.sh
index 5f5fa9a925..bf56db90c6 100755
--- a/test/lint/lint-shell.sh
+++ b/test/lint/lint-shell.sh
@@ -6,6 +6,10 @@
#
# Check for shellcheck warnings in shell scripts.
+# This script is intentionally locale dependent by not setting "export LC_ALL=C"
+# to allow running certain versions of shellcheck that core dump when LC_ALL=C
+# is set.
+
# Disabled warnings:
# SC2001: See if you can use ${variable//search/replace} instead.
# SC2004: $/${} is unnecessary on arithmetic variables.