fix(toolchain_util.sh): Switch from sudo_clobber to sudo tee

sudo_clobber is provided by common.sh which isn't included in the
catalyst environment so call sudo tee (what sudo_clobber does) directly
instead.
This commit is contained in:
Michael Marineau 2013-11-07 16:07:17 -08:00
parent 84fadc8236
commit b5e608c551

View File

@ -168,7 +168,7 @@ install_cross_toolchain() {
then
$sudo crossdev --stable --portage "$*" \
--init-target --target "${cross_chost}"
sudo_clobber "${cross_cfg}" <<<"${cross_cfg_data}"
$sudo tee "${cross_cfg}" <<<"${cross_cfg_data}" >/dev/null
fi
# If binary packages are enabled try to just emerge them instead of