diff options
author | Abhishek Arya <inferno@chromium.org> | 2018-07-27 08:02:34 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-07-27 08:02:34 -0700 |
commit | a81d5d406389973b4f08ce741580169ff3331e8b (patch) | |
tree | e3fd78ecdfc65dffa7a86a48aa3e9f772369fe9a /projects/firefox | |
parent | 1cfb20b65783539694891f4dab98398c8ac223ce (diff) | |
download | oss-fuzz-a81d5d406389973b4f08ce741580169ff3331e8b.tar.gz |
Update build.sh
Diffstat (limited to 'projects/firefox')
-rwxr-xr-x | projects/firefox/build.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/projects/firefox/build.sh b/projects/firefox/build.sh index c86bc2f27..7761f195e 100755 --- a/projects/firefox/build.sh +++ b/projects/firefox/build.sh @@ -47,9 +47,13 @@ ac_add_options --enable-address-sanitizer EOF fi +# Remove existing cargo configs (if any). Otherwise, mach fails. +if [ -d "$HOME/.cargo" ]; then rm -rf $HOME/.cargo; fi + # Install dependencies. ./mach bootstrap --no-interactive --application-choice browser +# Set environment for rustc. source $HOME/.cargo/env # Build! Takes about 15 minutes on a 32 vCPU instance. |