From 1a8d48a0259f4929951e35a22470219a67415d2c Mon Sep 17 00:00:00 2001
From: jdh8d <jdh8d@git.zephyr-software.com>
Date: Tue, 20 Oct 2015 19:17:43 +0000
Subject: [PATCH]

---
 build-all.sh | 14 ++++++++++----
 1 file changed, 10 insertions(+), 4 deletions(-)

diff --git a/build-all.sh b/build-all.sh
index bef304bb8..8376bb093 100755
--- a/build-all.sh
+++ b/build-all.sh
@@ -68,11 +68,17 @@ cd $ZIPR_CALLBACKS
 make  || exit
 make install || exit
 
-cd $ZIPR_HOME
-scons  || exit
 
-cd $ZIPR_SCFI_PLUGIN
-scons  || exit
+if [ -d $ZIPR_HOME ]; 
+	cd $ZIPR_HOME
+	scons  || exit
+fi
+
+if [ -d $ZIPR_SCFI_PLUGIN ];
+then
+	cd $ZIPR_SCFI_PLUGIN
+	scons  || exit
+fi
 
 cd $PEASOUP_UMBRELLA_DIR/zipr_push64_reloc_plugin
 scons || exit
-- 
GitLab