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