aboutsummaryrefslogtreecommitdiff
path: root/contrib/verify-commits
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 /contrib/verify-commits
parenta607d23ae82ee374799d21d02932d945c1ce9616 (diff)
downloadbitcoin-3352da8da1243c03fc83ba678d2f5d193bd5a0c2.tar.xz
Add "export LC_ALL=C" to all shell scripts
Diffstat (limited to 'contrib/verify-commits')
-rwxr-xr-xcontrib/verify-commits/gpg.sh1
-rwxr-xr-xcontrib/verify-commits/pre-push-hook.sh1
2 files changed, 2 insertions, 0 deletions
diff --git a/contrib/verify-commits/gpg.sh b/contrib/verify-commits/gpg.sh
index 8f3e4b8063..261d3e44cc 100755
--- a/contrib/verify-commits/gpg.sh
+++ b/contrib/verify-commits/gpg.sh
@@ -3,6 +3,7 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
+export LC_ALL=C
INPUT=$(cat /dev/stdin)
VALID=false
REVSIG=false
diff --git a/contrib/verify-commits/pre-push-hook.sh b/contrib/verify-commits/pre-push-hook.sh
index 1f14635f61..152f4e32e4 100755
--- a/contrib/verify-commits/pre-push-hook.sh
+++ b/contrib/verify-commits/pre-push-hook.sh
@@ -3,6 +3,7 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
+export LC_ALL=C
if ! [[ "$2" =~ ^(git@)?(www.)?github.com(:|/)bitcoin/bitcoin(.git)?$ ]]; then
exit 0
fi