From 96b1c8c97c70eedc07f1154a79c56ce29efaa55c Mon Sep 17 00:00:00 2001
From: an7s <an7s@git.zephyr-software.com>
Date: Tue, 2 May 2017 14:19:57 +0000
Subject: [PATCH] more sanity checks

Former-commit-id: d669e1a0e737cb4c94d8b947fe0df2d663943092
---
 clean-all.sh | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/clean-all.sh b/clean-all.sh
index c25ea7205..8e3931c25 100755
--- a/clean-all.sh
+++ b/clean-all.sh
@@ -43,8 +43,10 @@ if [ -d $ZIPR_CALLBACKS ]; then
 	make clean
 fi
 
-cd $PEASOUP_UMBRELLA_DIR/zipr_large_only_plugin/
-scons -c || exit
+if [ -d "$PEASOUP_UMBRELLA_DIR/zipr_large_only_plugin/" ]; then
+	cd $PEASOUP_UMBRELLA_DIR/zipr_large_only_plugin/
+	scons -c || exit
+fi
 
 cd $PEASOUP_UMBRELLA_DIR/zipr_push64_reloc_plugin
 scons -c || exit
-- 
GitLab