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>
This commit is contained in:
Gerald Combs 2017-07-20 09:37:15 -07:00
parent 9ab8133bf8
commit ab0b3ecf86
1 changed files with 2 additions and 2 deletions

View File

@ -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