Impala Public Jenkins has submitted this change and it was merged. (
http://gerrit.cloudera.org:8080/18678 )
Change subject: IMPALA-11403: Fix cmake escaping for sed regex in common/thrift
......................................................................
IMPALA-11403: Fix cmake escaping for sed regex in common/thrift
common/thrift/CMakeLists.txt contains a sed command line with a captured
group. This sed construct uses a single backslash ('\1'), which was
entered verbatim into CMakeLists.txt. The backslash character is however
an escape character for cmake as well, so it reported a warning about
incorrect escaping syntax when processing this file.
Fortunately the generated Makefile output was still correct.
The patch doubles the backslashes in the sed command line to escape them
correctly according to cmake's syntax rules.
Tested by running `./buildall.sh -cmake_only` on the changed file and
verifying that
- the warning is eliminated
- the generated output still contained the expected sed regex.
Change-Id: I8785fa0500d3a296f98efb973c6ce0737a02e8bb
Reviewed-on: http://gerrit.cloudera.org:8080/18678
Reviewed-by: Michael Smith <[email protected]>
Reviewed-by: Riza Suminto <[email protected]>
Reviewed-by: Zoltan Borok-Nagy <[email protected]>
Tested-by: Impala Public Jenkins <[email protected]>
---
M common/thrift/CMakeLists.txt
1 file changed, 1 insertion(+), 1 deletion(-)
Approvals:
Michael Smith: Looks good to me, but someone else must approve
Riza Suminto: Looks good to me, but someone else must approve
Zoltan Borok-Nagy: Looks good to me, approved
Impala Public Jenkins: Verified
--
To view, visit http://gerrit.cloudera.org:8080/18678
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-Project: Impala-ASF
Gerrit-Branch: master
Gerrit-MessageType: merged
Gerrit-Change-Id: I8785fa0500d3a296f98efb973c6ce0737a02e8bb
Gerrit-Change-Number: 18678
Gerrit-PatchSet: 2
Gerrit-Owner: Laszlo Gaal (Cloudera) <[email protected]>
Gerrit-Reviewer: Impala Public Jenkins <[email protected]>
Gerrit-Reviewer: Joe McDonnell <[email protected]>
Gerrit-Reviewer: Laszlo Gaal (Cloudera) <[email protected]>
Gerrit-Reviewer: Michael Smith <[email protected]>
Gerrit-Reviewer: Riza Suminto <[email protected]>
Gerrit-Reviewer: Zoltan Borok-Nagy <[email protected]>