Skip to content

Commit

Permalink
devops(firefox): properly cleanup old node.js artifact
Browse files Browse the repository at this point in the history
  • Loading branch information
aslushnikov committed Feb 3, 2021
1 parent 986bdda commit 8d4dc60
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion browser_patches/firefox/build.sh
Expand Up @@ -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
Expand Down

0 comments on commit 8d4dc60

Please sign in to comment.