From 878e5e39e5afe89228814f2a8d0f8e37b6ff2317 Mon Sep 17 00:00:00 2001 From: Shulhan Date: Wed, 29 Jun 2022 02:23:14 +0700 Subject: all: set LC_ALL=C to fix spurious warnings "cannot change locale" If user use non default locale, for example en_GB.UTF-8, setting up chroot will print the following warnings: /usr/bin/bash: warning: setlocale: LC_ALL: cannot change locale (en_GB.UTF-8) --- build-arch-gce | 2 ++ 1 file changed, 2 insertions(+) (limited to 'build-arch-gce') diff --git a/build-arch-gce b/build-arch-gce index f0922ff..1e6e16d 100755 --- a/build-arch-gce +++ b/build-arch-gce @@ -13,6 +13,8 @@ # See the License for the specific language governing permissions and # limitations under the License. +LC_ALL=C + set -eEuo pipefail trap 'echo "Error: \`$BASH_COMMAND\` exited with status $?"' ERR -- cgit v1.3