aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-11-24 11:38:52 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-11-24 11:38:52 +0000
commit0c2342447d011e46ccdca743bd8ef1c40030be4f (patch)
treee50213fdd51f89393163452f4726828bde4040b2
parent308390ae5500607f8b176a3ef08c6a06a0166b43 (diff)
downloadpaludis-0c2342447d011e46ccdca743bd8ef1c40030be4f.tar.gz
paludis-0c2342447d011e46ccdca743bd8ef1c40030be4f.tar.xz
Set CBUILD where necessary
-rwxr-xr-xebuild/ebuild.bash1
1 files changed, 1 insertions, 0 deletions
diff --git a/ebuild/ebuild.bash b/ebuild/ebuild.bash
index 2ad95b9..229e74b 100755
--- a/ebuild/ebuild.bash
+++ b/ebuild/ebuild.bash
@@ -35,6 +35,7 @@ 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