Skip to content

Commit

Permalink
fix regex
Browse files Browse the repository at this point in the history
  • Loading branch information
2over12 committed Nov 28, 2023
1 parent aab86a4 commit dd031d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shared_cmake/llvm-17.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -468,7 +468,7 @@ function(llvm-17-port repo_target ref sha512 head_ref patches)
file(READ "${release_target}" contents)
string(REPLACE "${CURRENT_INSTALLED_DIR}" "\${_IMPORT_PREFIX}" contents "${contents}")
string(REGEX REPLACE
"\\\${_IMPORT_PREFIX}/tools/liftingbits-llvm-17/([^ \"]+${EXECUTABLE_SUFFIX})"
"\\\${_IMPORT_PREFIX}/tools/llvm-17/([^ \"]+${EXECUTABLE_SUFFIX})"
"\${_IMPORT_PREFIX}/bin/\\1"
contents "${contents}")
file(WRITE "${release_target}" "${contents}")
Expand Down

0 comments on commit dd031d3

Please sign in to comment.