aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-11-24 12:46:33 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-11-24 12:46:33 +0000
commit87b89974c00ef3cf3e7d6a2116a09c518c4500a7 (patch)
tree15650bcc9f59c91492d681a7f3df14c50fc4f16a
parent0c2342447d011e46ccdca743bd8ef1c40030be4f (diff)
downloadpaludis-87b89974c00ef3cf3e7d6a2116a09c518c4500a7.tar.gz
paludis-87b89974c00ef3cf3e7d6a2116a09c518c4500a7.tar.xz
Set CBUILD where necessary
-rwxr-xr-xebuild/ebuild.bash3
1 files changed, 2 insertions, 1 deletions
diff --git a/ebuild/ebuild.bash b/ebuild/ebuild.bash
index 229e74b..1084a22 100755
--- a/ebuild/ebuild.bash
+++ b/ebuild/ebuild.bash
@@ -35,7 +35,6 @@ if [[ -z "${PALUDIS_DO_NOTHING_SANDBOXY}" ]] ; then
export SANDBOX_ON="1"
fi
export REAL_CHOST="${CHOST}"
-[[ -z "${CBUILD}" ]] && export CBUILD="${CHOST}"
shopt -s expand_aliases
shopt -s extglob
@@ -151,6 +150,8 @@ for var in ${save_vars} ; do
eval "export ${var}=\${save_var_${var}}"
done
+[[ -z "${CBUILD}" ]] && export CBUILD="${CHOST}"
+
ebuild_load_ebuild()
{
if [[ -n "${PALUDIS_LOAD_ENVIRONMENT}" ]] ; then