aboutsummaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2017-07-20 09:37:15 -0700
committerGerald Combs <gerald@wireshark.org>2017-07-20 18:00:43 +0000
commitab0b3ecf867223d8aeeb9c405dfc7204114b0dbe (patch)
tree7c3210901aec835f63b333b75684931e0178f5c0 /cmake
parent9ab8133bf8959c80167f85ffb4c12c37f3b4c2ed (diff)
CMake: Escape shell command quotes.
Escape shell command quotes so that what appears to be "unquoted_legacy" behavior doesn't kick in. Ping-Bug: 12305 Change-Id: I4763df2fbc58b80d6e4e3ec15f78c16fa1cf3853 Reviewed-on: https://code.wireshark.org/review/22732 Petri-Dish: Gerald Combs <gerald@wireshark.org> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Gerald Combs <gerald@wireshark.org>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindPOD.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/modules/FindPOD.cmake b/cmake/modules/FindPOD.cmake
index e3f4e9b2d8..fe1df66798 100644
--- a/cmake/modules/FindPOD.cmake
+++ b/cmake/modules/FindPOD.cmake
@@ -50,7 +50,7 @@ macro(pod2manhtml _sourcefile _manext)
COMMAND
${PERL_EXECUTABLE} ${POD2MAN_EXECUTABLE}
--section=${_manext}
- --center="The Wireshark Network Analyzer"
+ --center=\"The Wireshark Network Analyzer\"
--release=${CPACK_PACKAGE_VERSION}
${_sourcefile}.pod
> ${_outman}
@@ -63,7 +63,7 @@ macro(pod2manhtml _sourcefile _manext)
${_outhtml}
COMMAND
${PERL_EXECUTABLE} ${POD2HTML_EXECUTABLE}
- --title="${_basefile} - The Wireshark Network Analyzer ${CPACK_PACKAGE_VERSION}"
+ --title=\"${_basefile} - The Wireshark Network Analyzer ${CPACK_PACKAGE_VERSION}\"
--css=ws.css
--noindex
${_sourcefile}.pod