summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2015-11-22 11:15:43 -0800
committerGuy Harris <guy@alum.mit.edu>2015-11-22 19:16:37 +0000
commitb6cd32146e7bbe897e583f61bd8c31666ea2b3ac (patch)
tree6287fbb1bf857379336ecc1b968fc36c40206c69
parente191090f5a30585b0f30feab11c1f0388001d3c8 (diff)
downloadwireshark-b6cd32146e7bbe897e583f61bd8c31666ea2b3ac.tar.gz
Quote the path for the Windows setup script.
The path may contain a space (it does on my Windows 7 VM), so quote it in the PowerShell command. Change-Id: Ib130991b8c29cb327832f2fe51cb37828526448b Reviewed-on: https://code.wireshark.org/review/12041 Reviewed-by: Guy Harris <guy@alum.mit.edu> (cherry picked from commit d69cec7cffc9e281b9a5dd389120f0791e1d805f) Reviewed-on: https://code.wireshark.org/review/12042
-rw-r--r--CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index db240ecbf2..51e4db43a9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -126,7 +126,7 @@ if(WIN32)
# so, we could add a "-DFORCE_WIN_SETUP" which passes -Force to
# win-setup.ps1.
execute_process(
- COMMAND ${POWERSHELL_COMMAND} "${_win_setup}" -Destination "${_ws_lib_dir}" -Platform ${WIRESHARK_TARGET_PLATFORM} -VSVersion ${_vsversion_args}
+ COMMAND ${POWERSHELL_COMMAND} "\"${_win_setup}\"" -Destination "${_ws_lib_dir}" -Platform ${WIRESHARK_TARGET_PLATFORM} -VSVersion ${_vsversion_args}
RESULT_VARIABLE _win_setup_failed
)
if (${_win_setup_failed})