From cbf73d8362b7b61f8672b93ee475668474fe553f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 25 Feb 2009 07:05:50 +0100 Subject: [PATCH] chroot.sh: set LANG=C for the environment to avoid perl warns. --HG-- extra : convert_revision : b38ba3d7f16e498507db597e63695704373c9957 --- shutils/chroot.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shutils/chroot.sh b/shutils/chroot.sh index 467db81171..0dae0885d6 100644 --- a/shutils/chroot.sh +++ b/shutils/chroot.sh @@ -149,11 +149,11 @@ xbps_chroot_handler() install_xbps_utils if [ "$action" = "chroot" ]; then - env in_chroot=yes chroot $XBPS_MASTERDIR /bin/bash + env in_chroot=yes LANG=C chroot $XBPS_MASTERDIR /bin/bash else [ -n "$only_destdir" ] && \ local lenv="install_destdir_target=yes" - env in_chroot=yes ${lenv} chroot $XBPS_MASTERDIR \ + env in_chroot=yes LANG=C ${lenv} chroot $XBPS_MASTERDIR \ xbps-src $action $pkg fi msg_normal "Exiting from the chroot on $XBPS_MASTERDIR."