From c463af445f42f2316c375cbea8c90f141caf7096 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Fri, 10 Dec 2021 13:52:25 -0800 Subject: [PATCH] devops: fix clobbering of firefox builds (#10867) Turns out `mach clobber` works reliably only with a bootstrapped checkout and fails otherwise. Ignore failure if there's been no bootstrap since clobberring won't change anything. --- browser_patches/firefox-beta/clean.sh | 2 +- browser_patches/firefox/clean.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/browser_patches/firefox-beta/clean.sh b/browser_patches/firefox-beta/clean.sh index 468c5024df..d94baf33a3 100755 --- a/browser_patches/firefox-beta/clean.sh +++ b/browser_patches/firefox-beta/clean.sh @@ -16,5 +16,5 @@ if [[ -d $OBJ_FOLDER ]]; then fi if [[ -f "mach" ]]; then - ./mach clobber + ./mach clobber || true fi diff --git a/browser_patches/firefox/clean.sh b/browser_patches/firefox/clean.sh index 468c5024df..d94baf33a3 100755 --- a/browser_patches/firefox/clean.sh +++ b/browser_patches/firefox/clean.sh @@ -16,5 +16,5 @@ if [[ -d $OBJ_FOLDER ]]; then fi if [[ -f "mach" ]]; then - ./mach clobber + ./mach clobber || true fi