diff --git a/ci/build_depends.sh b/ci/build_depends.sh index d4e7cd0e59..fec2cad4de 100755 --- a/ci/build_depends.sh +++ b/ci/build_depends.sh @@ -1,7 +1,9 @@ #!/usr/bin/env bash - +# # This script is executed inside the builder image +export LC_ALL=C + set -e source ./ci/matrix.sh diff --git a/ci/build_src.sh b/ci/build_src.sh index 17c51d0387..5881c6ed14 100755 --- a/ci/build_src.sh +++ b/ci/build_src.sh @@ -1,7 +1,9 @@ #!/usr/bin/env bash - +# # This script is executed inside the builder image +export LC_ALL=C + set -e source ./ci/matrix.sh diff --git a/ci/matrix.sh b/ci/matrix.sh index 5203850c7c..b74b2e01b5 100755 --- a/ci/matrix.sh +++ b/ci/matrix.sh @@ -1,8 +1,10 @@ #!/usr/bin/env bash - +# # This script is meant to be sourced into the actual build script. It contains the build matrix and will set all # necessary environment variables for the request build target +export LC_ALL=C + export BUILD_TARGET=${BUILD_TARGET:-linux64} export PULL_REQUEST=${PULL_REQUEST:-false} export JOB_NUMBER=${JOB_NUMBER:-1} diff --git a/ci/test_integrationtests.sh b/ci/test_integrationtests.sh index aed4c629a3..8d04335b78 100755 --- a/ci/test_integrationtests.sh +++ b/ci/test_integrationtests.sh @@ -1,7 +1,9 @@ #!/usr/bin/env bash - +# # This script is executed inside the builder image +export LC_ALL=C + set -e PASS_ARGS="$@" diff --git a/ci/test_unittests.sh b/ci/test_unittests.sh index 1a6aecd290..0848fc5b50 100755 --- a/ci/test_unittests.sh +++ b/ci/test_unittests.sh @@ -1,7 +1,9 @@ #!/usr/bin/env bash - +# # This script is executed inside the builder image +export LC_ALL=C + set -e source ./ci/matrix.sh diff --git a/contrib/auto_gdb/dash_dbg.sh b/contrib/auto_gdb/dash_dbg.sh index ebe3ed54ec..b1e1b2fd9c 100755 --- a/contrib/auto_gdb/dash_dbg.sh +++ b/contrib/auto_gdb/dash_dbg.sh @@ -1,4 +1,6 @@ #!/bin/bash # use testnet settings, if you need mainnet, use ~/.dashcore/dashd.pid file instead +export LC_ALL=C + dash_pid=$(<~/.dashcore/testnet3/dashd.pid) sudo gdb -batch -ex "source debug.gdb" dashd ${dash_pid} diff --git a/contrib/verify-commits/verify-commits.sh b/contrib/verify-commits/verify-commits.sh index 78320a4ce3..7e401ac3a3 100755 --- a/contrib/verify-commits/verify-commits.sh +++ b/contrib/verify-commits/verify-commits.sh @@ -3,6 +3,8 @@ # Distributed under the MIT software license, see the accompanying # file COPYING or http://www.opensource.org/licenses/mit-license.php. +export LC_ALL=C + DIR=$(dirname "$0") [ "/${DIR#/}" != "$DIR" ] && DIR=$(dirname "$(pwd)/$0") diff --git a/docker/build-docker.sh b/docker/build-docker.sh index 51aff468b3..c006e85f09 100755 --- a/docker/build-docker.sh +++ b/docker/build-docker.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +export LC_ALL=C + DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR/.. diff --git a/docker/push-docker.sh b/docker/push-docker.sh index e4bace009f..3f05255046 100755 --- a/docker/push-docker.sh +++ b/docker/push-docker.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +export LC_ALL=C + DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" cd $DIR/..