Skip to content

Commit 9015fa5

Browse files
CopilotJohnAmadis
andcommitted
Use ":// " pattern to detect URLs instead of only matching http/https schemes
Co-authored-by: JohnAmadis <17320783+JohnAmadis@users.noreply.github.com>
1 parent 4a66c18 commit 9015fa5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ option(DMBOOT_EMULATION "Enable Renode emulation mode" OFF)
2020
# Convert relative manifest path to absolute so it remains valid when the
2121
# working directory changes during the build (e.g. dmf-get is invoked from a
2222
# different directory than where cmake was originally run).
23-
if(DMBOOT_MANIFEST_URL AND NOT DMBOOT_MANIFEST_URL MATCHES "^https?://")
23+
if(DMBOOT_MANIFEST_URL AND NOT DMBOOT_MANIFEST_URL MATCHES "://")
2424
get_filename_component(DMBOOT_MANIFEST_URL "${DMBOOT_MANIFEST_URL}" ABSOLUTE BASE_DIR "${CMAKE_BINARY_DIR}")
2525
message(STATUS "Resolved manifest path to absolute: ${DMBOOT_MANIFEST_URL}")
2626
endif()

0 commit comments

Comments
 (0)