From 7aa6261c631a1c14d176ac5a918dad51e687d63e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Thu, 10 Sep 2015 13:48:47 +0200 Subject: [PATCH] chroot.sh: set LC_ALL=C in the chroot --- common/xbps-src/shutils/chroot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/xbps-src/shutils/chroot.sh b/common/xbps-src/shutils/chroot.sh index e023ef48a3..e557d625e3 100644 --- a/common/xbps-src/shutils/chroot.sh +++ b/common/xbps-src/shutils/chroot.sh @@ -33,7 +33,7 @@ XBPS_SRC_VERSION="$XBPS_SRC_VERSION" PATH=/void-packages:/usr/bin:/usr/sbin exec env -i SHELL=/bin/sh PATH="\$PATH" DISTCC_HOSTS="\$XBPS_DISTCC_HOSTS" DISTCC_DIR="/host/distcc" @@XARCH@@ \ - CCACHE_DIR="/host/ccache" IN_CHROOT=1 LANG=en_US.UTF-8 TERM=linux HOME="/tmp" \ + CCACHE_DIR="/host/ccache" IN_CHROOT=1 LC_ALL=C LANG=en_US.UTF-8 TERM=linux HOME="/tmp" \ PS1="[\u@$XBPS_MASTERDIR \W]$ " /bin/bash +h _EOF if [ -n "$XBPS_ARCH" ]; then @@ -198,7 +198,7 @@ chroot_handler() { action="$arg $action" env -i PATH="/usr/bin:/usr/sbin:$PATH" SHELL=/bin/sh \ - HOME=/tmp IN_CHROOT=1 LANG=en_US.UTF-8 \ + HOME=/tmp IN_CHROOT=1 LC_ALL=C LANG=en_US.UTF-8 \ $XBPS_COMMONDIR/chroot-style/${XBPS_CHROOT_CMD:=uunshare}.sh \ $XBPS_MASTERDIR $XBPS_DISTDIR "$XBPS_HOSTDIR" "$XBPS_CHROOT_CMD_ARGS" \ /void-packages/xbps-src $action $pkg