diff --git a/configure b/configure
index 8c3d398dd105457cad02be66cf2e73d4d11fef98..1e0fee76142be141f8c48ab297e086c9a3f5e455 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 eaf1475c9f33db9385679744a79af56f6c3a0832..27a6a8d7192eebdb3973c91553ae3f2ee94d177b 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