From b5e608c5512e7e48ce604392ee142ac59a4b10f1 Mon Sep 17 00:00:00 2001 From: Michael Marineau Date: Thu, 7 Nov 2013 16:07:17 -0800 Subject: [PATCH] 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. --- build_library/toolchain_util.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build_library/toolchain_util.sh b/build_library/toolchain_util.sh index 2548330440..b70ee9cf77 100644 --- a/build_library/toolchain_util.sh +++ b/build_library/toolchain_util.sh @@ -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