Skip to content

Commit

Permalink
fix crash in postbuiltlint (#977)
Browse files Browse the repository at this point in the history
  • Loading branch information
russelltg authored Mar 22, 2023
1 parent 1085a50 commit 27ac3ef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/vcpkg/postbuildlint.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,8 +394,8 @@ namespace vcpkg
1); // The +1 is needed to remove the "/"
const Path relative_path = found_relative_native;
msg_sink.print(Color::none,
fmt::format("\n configure_file(\"${CURRENT_BUILDTREES_DIR}/{}/{}\" "
"\"${CURRENT_PACKAGES_DIR}/share/{}/copyright\" COPYONLY)\n",
fmt::format("\n configure_file(\"${{CURRENT_BUILDTREES_DIR}}/{}/{}\" "
"\"${{CURRENT_PACKAGES_DIR}}/share/{}/copyright\" COPYONLY)\n",
relative_path.generic_u8string(),
found_file.filename(),
spec.name()));
Expand Down

0 comments on commit 27ac3ef

Please sign in to comment.