From 254a464828b24a295b55a2130f9cfed3428955d4 Mon Sep 17 00:00:00 2001 From: Andrey Lushnikov Date: Fri, 22 Nov 2019 19:57:25 -0800 Subject: [PATCH] devops: fix clean script to keep going if there's no OBJ- folder --- browser_patches/firefox/clean.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/browser_patches/firefox/clean.sh b/browser_patches/firefox/clean.sh index 89936dd0a1..1c7b9a0581 100755 --- a/browser_patches/firefox/clean.sh +++ b/browser_patches/firefox/clean.sh @@ -6,7 +6,7 @@ trap "cd $(pwd -P)" EXIT cd "$(dirname $0)" cd "checkout" -OBJ_FOLDER=$(ls -1 | grep obj-) +OBJ_FOLDER=$(ls -1 | grep obj- || true) if [[ -d $OBJ_FOLDER ]]; then rm -rf $OBJ_FOLDER fi