From b6ebfa403ebd79df6d9681040d976033b942c639 Mon Sep 17 00:00:00 2001
From: Incardona Pietro <incardon@mpi-cbg.de>
Date: Wed, 17 Feb 2021 23:08:51 +0100
Subject: [PATCH] Fixing install script for vars relocation

---
 configure | 2 +-
 install   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 8c3d398dd..1e0fee761 100755
--- a/configure
+++ b/configure
@@ -586,7 +586,7 @@ cd build
 
 ## remove enerything
 echo "Calling cmake ../. $conf_options"
-echo "cmake ../. $conf_options" > cmake_build_options 
+printf "cmake ../. $conf_options" > cmake_build_options 
 rm ../error_code
 DYLD_LIBRARY_PATH=$ld_lib_pathopt cmake ../. $conf_options
 if [ $? != 0 ]; then
diff --git a/install b/install
index eaf1475c9..27a6a8d71 100755
--- a/install
+++ b/install
@@ -568,7 +568,7 @@ bash_library="$bash_library\""
 
 # in cygwin we have to add to PATH additional directories
 
-if [ x"VARS_FILE_LOCATION" == x"" ]; then
+if [ x"$VARS_FILE_LOCATION" == x"" ]; then
 	VARS_FILE_LOCATION=$HOME
 fi
 
-- 
GitLab