mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-08 05:26:58 +02:00
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:
parent
84fadc8236
commit
b5e608c551
@ -168,7 +168,7 @@ install_cross_toolchain() {
|
|||||||
then
|
then
|
||||||
$sudo crossdev --stable --portage "$*" \
|
$sudo crossdev --stable --portage "$*" \
|
||||||
--init-target --target "${cross_chost}"
|
--init-target --target "${cross_chost}"
|
||||||
sudo_clobber "${cross_cfg}" <<<"${cross_cfg_data}"
|
$sudo tee "${cross_cfg}" <<<"${cross_cfg_data}" >/dev/null
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# If binary packages are enabled try to just emerge them instead of
|
# If binary packages are enabled try to just emerge them instead of
|
||||||
|
Loading…
Reference in New Issue
Block a user