From dbebd8980aa0f4e01752b45e61748887e5abe7b2 Mon Sep 17 00:00:00 2001 From: Fabio Erculiani Date: Thu, 2 Feb 2012 08:17:25 +0100 Subject: [PATCH] [scripts] mkloopcard: move LC_ALL export upwards --- scripts/mkloopcard.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/mkloopcard.sh b/scripts/mkloopcard.sh index 9acddde..5f5487c 100755 --- a/scripts/mkloopcard.sh +++ b/scripts/mkloopcard.sh @@ -156,6 +156,8 @@ fi # execute PACKAGES_TO_ADD and PACKAGES_TO_REMOVE export ETP_NONINTERACTIVE=1 +# Entropy doesn't like non-UTF locale encodings +export LC_ALL=en_US.UTF-8 # do I have to run "equo update?" # If we are running outside the DAILY scope, it's @@ -167,8 +169,6 @@ if [ -z "$(basename ${IMAGE_NAME} | grep DAILY)" ]; then exit 1 fi -# Entropy doesn't like non-UTF locale encodings -export LC_ALL=en_US.UTF-8 if [ -n "${PACKAGES_TO_ADD}" ]; then add_cmd="equo install ${PACKAGES_TO_ADD}" chroot "${tmp_dir}" ${add_cmd} || exit 1