From ef872fd60f9fcd406d610e9009c7e2c47b2d1988 Mon Sep 17 00:00:00 2001
From: Incardona Pietro <incardon@mpi-cbg.de>
Date: Mon, 5 Apr 2021 18:26:13 +0200
Subject: [PATCH] Fixing installation in test

---
 build.sh | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/build.sh b/build.sh
index cdf2e0cff..52a069684 100755
--- a/build.sh
+++ b/build.sh
@@ -76,8 +76,12 @@ mkdir openfpm_numerics/src/config
 echo "Compiling general"
 
 source ~/.bashrc
- 
-installation_dir="--prefix=$HOME/openfpm_install/$branch"
+
+if [ x"$comp_type" != x"full" ]; then
+	installation_dir=" "
+else
+	installation_dir="--prefix=$HOME/openfpm_install/$branch"
+fi
 
 # force ssh to not use HostKey verification
 #echo "StrictHostKeyChecking=no" > $HOME/.ssh/config
-- 
GitLab