Use the correct syntax for the shell
authorjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 6 Oct 2013 22:14:37 +0000 (22:14 +0000)
committerjmayer <jmayer@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 6 Oct 2013 22:14:37 +0000 (22:14 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@52425 f5534014-38df-0310-8fa8-9805f1628bb7

cmake/modules/UseMakeTapReg.cmake

index 488beac15cdd60c63b35cab4d0df263949073085..49b5dbc1b9a921f4d977c9231563763d9a913684 100644 (file)
@@ -6,7 +6,7 @@ MACRO(REGISTER_TAP_FILES _outputfile )
     ADD_CUSTOM_COMMAND(
         OUTPUT
           ${_outputfile}
-        COMMAND ${SHELL}
+        COMMAND ${SH_EXECUTABLE} ${SH_FLAGS1} ${SH_FLAGS2}
           ${CMAKE_SOURCE_DIR}/tools/make-tapreg-dotc
           ${_outputfile}
           ${CMAKE_CURRENT_SOURCE_DIR}