aboutsummaryrefslogtreecommitdiff
path: root/test/lint/lint-all.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-all.sh
parenta607d23ae82ee374799d21d02932d945c1ce9616 (diff)
Add "export LC_ALL=C" to all shell scripts
Diffstat (limited to 'test/lint/lint-all.sh')
-rwxr-xr-xtest/lint/lint-all.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/lint/lint-all.sh b/test/lint/lint-all.sh
index b6d86959c6..c9d4ec7199 100755
--- a/test/lint/lint-all.sh
+++ b/test/lint/lint-all.sh
@@ -7,6 +7,10 @@
# This script runs all contrib/devtools/lint-*.sh files, and fails if any exit
# with a non-zero status code.
+# This script is intentionally locale dependent by not setting "export LC_ALL=C"
+# in order to allow for the executed lint scripts to opt in or opt out of locale
+# dependence themselves.
+
set -u
SCRIPTDIR=$(dirname "${BASH_SOURCE[0]}")