aboutsummaryrefslogtreecommitdiff
path: root/test/lint/lint-whitespace.sh
diff options
context:
space:
mode:
Diffstat (limited to 'test/lint/lint-whitespace.sh')
-rwxr-xr-xtest/lint/lint-whitespace.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/lint/lint-whitespace.sh b/test/lint/lint-whitespace.sh
index c5d43043d5..beb7ec42f4 100755
--- a/test/lint/lint-whitespace.sh
+++ b/test/lint/lint-whitespace.sh
@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/usr/bin/env bash
#
# Copyright (c) 2017 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
@@ -8,6 +8,7 @@
# We can't run this check unless we know the commit range for the PR.
+export LC_ALL=C
while getopts "?" opt; do
case $opt in
?)