diff --git a/build.sh b/build.sh index cdf2e0cff5435476a1fcb450bc83d323d265c1cc..52a0696845b3ec7b179da7d2e192c572d2ba5eb0 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