Add "export LC_ALL=C" to all shell scripts

Zcash: Only for shell scripts we have from upstream.
This commit is contained in:
practicalswift 2018-06-13 16:50:48 +02:00 committed by Jack Grigg
parent 6506fbacf1
commit 3b1bf4b4af
6 changed files with 10 additions and 0 deletions

View File

@ -5,6 +5,7 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or https://www.opensource.org/licenses/mit-license.php .
export LC_ALL=C
set -e
srcdir="$(dirname $0)"
cd "$srcdir"

View File

@ -1,5 +1,6 @@
#!/bin/sh
export LC_ALL=C
TOPDIR=${TOPDIR:-$(git rev-parse --show-toplevel)}
SRCDIR=${SRCDIR:-$TOPDIR/src}
MANDIR=${MANDIR:-$TOPDIR/doc/man}

View File

@ -1,3 +1,8 @@
# Copyright (c) 2017 The Bitcoin Core developers
# Distributed under the MIT software license, see the accompanying
# file COPYING or http://www.opensource.org/licenses/mit-license.php.
export LC_ALL=C
#network interface on which to limit traffic
IF="eth0"
#limit of the network interface in question

View File

@ -5,6 +5,7 @@
# Distributed under the MIT software license, see the accompanying
# file COPYING or https://www.opensource.org/licenses/mit-license.php .
export LC_ALL=C
if [ $# -gt 1 ]; then
cd "$2"
fi

View File

@ -11,6 +11,7 @@
# The resulting script should exactly transform the previous commit into the current
# one. Any remaining diff signals an error.
export LC_ALL=C
if test "x$1" = "x"; then
echo "Usage: $0 <commit>..."
exit 1

View File

@ -1,5 +1,6 @@
#!/bin/sh
export LC_ALL=C
DIR="$1"
COMMIT="$2"
if [ -z "$COMMIT" ]; then