From 8d4dc600f8eb7aef1b0921bc579466cc05e04a12 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Tue, 2 Feb 2021 23:59:33 -0700 Subject: [PATCH] devops(firefox): properly cleanup old node.js artifact --- browser_patches/firefox/build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/browser_patches/firefox/build.sh b/browser_patches/firefox/build.sh index 27eb5af600128..620bb91de4869 100755 --- a/browser_patches/firefox/build.sh +++ b/browser_patches/firefox/build.sh @@ -80,7 +80,8 @@ echo "mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/${OBJ_FOLDER}" >> .mozconfig if [[ $1 == "--full" ]]; then if [[ "$(uname)" == "Darwin" && "$(uname -m)" == "arm64" ]]; then ./mach artifact toolchain --from-build macosx64-node - mv node "$HOME/.mozbuild/node" + rm -rf "$HOME/.mozbuild/node" + mv node "$HOME/.mozbuild/" elif [[ "$(uname)" == "Darwin" || "$(uname)" == "Linux" ]]; then SHELL=/bin/sh ./mach bootstrap --application-choice=browser --no-interactive --no-system-changes fi