Hello Todd Lipcon,
I'd like you to do a code review. Please visit
http://gerrit.cloudera.org:8080/6161
to review the following change.
Change subject: cmake: don't incorporate filenames in regexp patterns
......................................................................
cmake: don't incorporate filenames in regexp patterns
It leads to incorrect match failures when the filenames contain regexp
metacharacters, the worst offender being '+'. I couldn't find a cmake
equivalent to java.util.regex.Pattern's \Q and \E control characters, so I
rewrote the matching logic with FIND and REPLACE instead.
With this change, building from within a directory like
kudu-1.2.0+cdh6.x+0/build/fastdebug correctly creates the 'latest' link.
Change-Id: Iffbb9cb377625b537212e8244976ffc1b898840b
---
M CMakeLists.txt
1 file changed, 9 insertions(+), 5 deletions(-)
git pull ssh://gerrit.cloudera.org:29418/kudu refs/changes/61/6161/1
--
To view, visit http://gerrit.cloudera.org:8080/6161
To unsubscribe, visit http://gerrit.cloudera.org:8080/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Iffbb9cb377625b537212e8244976ffc1b898840b
Gerrit-PatchSet: 1
Gerrit-Project: kudu
Gerrit-Branch: master
Gerrit-Owner: Adar Dembo <[email protected]>
Gerrit-Reviewer: Todd Lipcon <[email protected]>