From 4a6aa619a582861077b5e6cb60b6ae0e81af32b0 Mon Sep 17 00:00:00 2001
From: mc2zk <mc2zk@git.zephyr-software.com>
Date: Wed, 21 Oct 2015 02:10:26 +0000
Subject: [PATCH] Committing changes for CFAR release.

---
 build-all.sh | 13 +++++++------
 clean-all.sh | 12 ++++++++----
 2 files changed, 15 insertions(+), 10 deletions(-)

diff --git a/build-all.sh b/build-all.sh
index 4becd9c70..378d39218 100755
--- a/build-all.sh
+++ b/build-all.sh
@@ -63,13 +63,14 @@ scons  || exit
 cd $PEASOUP_HOME
 make || exit
 
-cd $ZIPR_CALLBACKS
-./configure --enable-p1 --prefix=$ZIPR_INSTALL
-make  || exit
-make install || exit
-
+if [ -d $ZIPR_CALLBACKS ]; then 
+	cd $ZIPR_CALLBACKS
+	./configure --enable-p1 --prefix=$ZIPR_INSTALL
+	make  || exit
+	make install || exit
+fi
 
-if [ -d $ZIPR_HOME ];  then
+if [ -d $ZIPR_HOME ]; then
 	cd $ZIPR_HOME
 	scons  || exit
 fi
diff --git a/clean-all.sh b/clean-all.sh
index cb2e33f0a..004ee9d90 100755
--- a/clean-all.sh
+++ b/clean-all.sh
@@ -29,11 +29,15 @@ scons -c || exit
 cd $IRDB_TRANSFORMS
 scons -c || exit
 
-cd $ZIPR_SCFI_PLUGIN
-scons  -c || exit
+if [ -d $ZIPR_SCFI_PLUGIN ]; then
+	cd $ZIPR_SCFI_PLUGIN
+	scons  -c || exit
+fi
 
 cd $PEASOUP_UMBRELLA_DIR/zipr_push64_reloc_plugin
 scons -c || exit
 
-cd $ZIPR_HOME
-scons -c || exit
+if [ -d $ZIPR_HOME ]; then 
+	cd $ZIPR_HOME
+	scons -c || exit
+fi
-- 
GitLab