diff --git a/ci/ci.sh b/ci/ci.sh index c7d2e9e4ea..e3cd538556 100755 --- a/ci/ci.sh +++ b/ci/ci.sh @@ -1,9 +1,9 @@ #!/bin/sh -set -eux - export LC_ALL=C +set -eux + # Print commit and relevant CI environment to allow reproducing the job outside of CI. git show --no-patch print_environment() { diff --git a/ci/test/07_script.sh b/ci/test/07_script.sh index cadb6e557e..f56b072d3b 100755 --- a/ci/test/07_script.sh +++ b/ci/test/07_script.sh @@ -1,5 +1,7 @@ #!/usr/bin/env bash +export LC_ALL=C + echo "UPLOAD ARTIFACTS" if [[ "$ARTIFACT_NAME" == "" ]]; then @@ -27,4 +29,4 @@ curl -X POST \ --data-binary @$fpath \ --header "Authorization: token $GITHUB_TOKEN" \ --header "Content-Type: $file_content_type" \ - $url_to_upload \ No newline at end of file + $url_to_upload diff --git a/contrib/devtools/split-debug.sh b/contrib/devtools/split-debug.sh index 3822fd1310..215c995092 100755 --- a/contrib/devtools/split-debug.sh +++ b/contrib/devtools/split-debug.sh @@ -1,4 +1,6 @@ #!/bin/sh +export LC_ALL=C + set -e if [ $# -ne 3 ]; then echo "usage: $0 " diff --git a/contrib/travis.sh b/contrib/travis.sh index 88061b743a..d09f0829e1 100755 --- a/contrib/travis.sh +++ b/contrib/travis.sh @@ -1,5 +1,7 @@ #!/bin/sh +export LC_ALL=C + set -e set -x diff --git a/debian.minimal/build-in-docker.sh b/debian.minimal/build-in-docker.sh index 494fb6ea6e..fa67a10731 100755 --- a/debian.minimal/build-in-docker.sh +++ b/debian.minimal/build-in-docker.sh @@ -1,5 +1,7 @@ #!/bin/bash +export LC_ALL=C + set -e debuild -S diff --git a/debian.minimal/test.sh b/debian.minimal/test.sh index 6f0e177ba7..bc18af7bbd 100755 --- a/debian.minimal/test.sh +++ b/debian.minimal/test.sh @@ -1,5 +1,7 @@ #!/bin/bash +export LC_ALL=C + #finish() { # docker stop $container >/dev/null # docker container rm $container >/dev/null diff --git a/debian.qt/build-in-docker.sh b/debian.qt/build-in-docker.sh index 014c7b885f..dafbbcff46 100755 --- a/debian.qt/build-in-docker.sh +++ b/debian.qt/build-in-docker.sh @@ -1,5 +1,7 @@ #!/bin/bash +export LC_ALL=C + set -e debuild -S diff --git a/debian.qt/test.sh b/debian.qt/test.sh index 49aa7fcef9..cbb7fa088b 100755 --- a/debian.qt/test.sh +++ b/debian.qt/test.sh @@ -1,5 +1,7 @@ #!/bin/bash +export LC_ALL=C + finish() { docker stop $container >/dev/null docker container rm $container >/dev/null diff --git a/debian.qt/updateunattended.sh b/debian.qt/updateunattended.sh index 0078ab3d7b..8241bfa28d 100755 --- a/debian.qt/updateunattended.sh +++ b/debian.qt/updateunattended.sh @@ -1,4 +1,6 @@ #!/bin/bash +export LC_ALL=C + export DEBIAN_FRONTEND=noninteractive export TZ=Etc/UTC apt-get update && apt-get install -y tzdata