Commit 8142caab authored by Matthias Vallentin's avatar Matthias Vallentin

Ensure proper quoting of shell variables

parent 80b58951
...@@ -229,7 +229,7 @@ while [ $# -ne 0 ]; do ...@@ -229,7 +229,7 @@ while [ $# -ne 0 ]; do
CMakeGenerator="$optarg" CMakeGenerator="$optarg"
;; ;;
--prefix=*) --prefix=*)
append_cache_entry CMAKE_INSTALL_PREFIX PATH $optarg append_cache_entry CMAKE_INSTALL_PREFIX PATH "$optarg"
;; ;;
--with-runtime-checks) --with-runtime-checks)
append_cache_entry CAF_ENABLE_RUNTIME_CHECKS BOOL yes append_cache_entry CAF_ENABLE_RUNTIME_CHECKS BOOL yes
...@@ -300,19 +300,19 @@ while [ $# -ne 0 ]; do ...@@ -300,19 +300,19 @@ while [ $# -ne 0 ]; do
esac esac
;; ;;
--with-clang=*) --with-clang=*)
clang=$optarg clang="$optarg"
;; ;;
--with-gcc=*) --with-gcc=*)
gcc=$optarg gcc="$optarg"
;; ;;
--with-qt-prefix=*) --with-qt-prefix=*)
append_cache_entry CAF_QT_PREFIX_PATH STRING "$optarg" append_cache_entry CAF_QT_PREFIX_PATH STRING "$optarg"
;; ;;
--with-openssl=*) --with-openssl=*)
append_cache_entry OPENSSL_ROOT_DIR PATH $optarg append_cache_entry OPENSSL_ROOT_DIR PATH "$optarg"
;; ;;
--build-type=*) --build-type=*)
append_cache_entry CMAKE_BUILD_TYPE STRING $optarg append_cache_entry CMAKE_BUILD_TYPE STRING "$optarg"
;; ;;
--build-dir=*) --build-dir=*)
builddir="$optarg" builddir="$optarg"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment