Make sure that jjb-cleanup.sh allows unbound vars
[releng/global-jjb.git] / shell / cmake-build.sh
index a6a41e4..2466c17 100644 (file)
@@ -27,7 +27,7 @@ mkdir -p "$build_dir"
 cd "$build_dir" || exit
 # $cmake_opts needs to wordsplit to pass options.
 # shellcheck disable=SC2086
-cmake -DCMAKE_INSTALL_PREFIX="$INSTALL_PREFIX" $cmake_opts ..
+eval cmake -DCMAKE_INSTALL_PREFIX="$INSTALL_PREFIX" $cmake_opts ..
 # $make_opts needs to wordsplit to pass options.
 # shellcheck disable=SC2086
 make $make_opts