aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Stephen P. Bennett <spb@exherbo.org> 2007-06-15 22:43:24 +0000
committerAvatar Stephen P. Bennett <spb@exherbo.org> 2007-06-15 22:43:24 +0000
commitfcc9fab7a149f2baddfaf7f78ae2ee269ca8b453 (patch)
tree705dd2a4ce978d0e438a33a986624161c5c2431a
parent9db228c4166d128b9bacfddd48ff1316e0ccd663 (diff)
downloadpaludis-fcc9fab7a149f2baddfaf7f78ae2ee269ca8b453.tar.gz
paludis-fcc9fab7a149f2baddfaf7f78ae2ee269ca8b453.tar.xz
Don't set REAL_CHOST=CHOST until after CHOST is set
-rwxr-xr-xpaludis/repositories/gentoo/ebuild/ebuild.bash2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/repositories/gentoo/ebuild/ebuild.bash b/paludis/repositories/gentoo/ebuild/ebuild.bash
index 4b724cb..4c2a59f 100755
--- a/paludis/repositories/gentoo/ebuild/ebuild.bash
+++ b/paludis/repositories/gentoo/ebuild/ebuild.bash
@@ -45,7 +45,6 @@ if [[ -z "${PALUDIS_DO_NOTHING_SANDBOXY}" ]] ; then
export SANDBOX_BASHRC="/dev/null"
unset BASH_ENV
fi
-export REAL_CHOST="${CHOST}"
shopt -s expand_aliases
shopt -s extglob
@@ -174,6 +173,7 @@ for var in ${save_base_vars} ; do
done
[[ -z "${CBUILD}" ]] && export CBUILD="${CHOST}"
+export REAL_CHOST="${CHOST}"
ebuild_scrub_environment()
{