summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorMark Phillips <mark.phil@samsung.com>2016-10-20 18:50:26 +0100
committerGuy Harris <guy@alum.mit.edu>2017-02-15 20:58:43 +0000
commit64f83641ad1ddd8969b08ccb64975daa582427f5 (patch)
treeb698af9c643fa0c79df879e2467ed4a023f85372 /cmake
parent0f5948015d96fdb198fb4b26a810404b1225462c (diff)
downloadwireshark-64f83641ad1ddd8969b08ccb64975daa582427f5.tar.gz
Cleanup runlex.sh to use builtin POSIX functions instead of sed
Bug: 13412 Change-Id: If43b30a33dcc4f23ba2bcb3cce3d0feea0d9fe40 Reviewed-on: https://code.wireshark.org/review/20120 Reviewed-by: Guy Harris <guy@alum.mit.edu>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/modules/FindLEX.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/modules/FindLEX.cmake b/cmake/modules/FindLEX.cmake
index 6a9c0fc702..28fc6678fb 100644
--- a/cmake/modules/FindLEX.cmake
+++ b/cmake/modules/FindLEX.cmake
@@ -36,7 +36,7 @@ MACRO(ADD_LEX_FILES _source _generated)
ADD_CUSTOM_COMMAND(
OUTPUT ${_outc} ${_outh}
- COMMAND ${SH_EXECUTABLE} ${SH_FLAGS1} ${SH_FLAGS2} ${CMAKE_SOURCE_DIR}/tools/runlex.sh ${LEX_EXECUTABLE} ${SED_EXECUTABLE}
+ COMMAND ${SH_EXECUTABLE} ${SH_FLAGS1} ${SH_FLAGS2} ${CMAKE_SOURCE_DIR}/tools/runlex.sh ${LEX_EXECUTABLE}
-o${_outc}
${_in}
DEPENDS ${_in}