Skip to content

Commit

Permalink
Fix consistency in error messages
Browse files Browse the repository at this point in the history
Signed-off-by: Harry Ramsey <[email protected]>
  • Loading branch information
Harry-Ramsey committed Sep 24, 2024
1 parent 91f7ce6 commit 9dbc616
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ endif()

if (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/framework/CMakeLists.txt")
if (NOT EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git/")
message(FATAL_ERROR "${CMAKE_CURRENT_SOURCE_DIR}/.git/ not found. Please ensure you have downloaded a release version of MBedTLS from Github.")
message(FATAL_ERROR "${CMAKE_CURRENT_SOURCE_DIR}/.git/ not found. Please ensure you have downloaded a release version of Mbed TLS from GitHub.")
else ()
message(FATAL_ERROR "${CMAKE_CURRENT_SOURCE_DIR}/framework/CMakeLists.txt not found. Run `git submodule update --init` from the source tree to fetch the submodule contents.")
endif()
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This is a fatal error
ifeq (,$(wildcard .git))
define error_message
$(MBEDTLS_PATH)/.git/ not found.
Please ensure you have downloaded a release version of MbedTLS from Github.
Please ensure you have downloaded a release version of Mbed TLS from GitHub.
This is a fatal error
endef
else
Expand Down

0 comments on commit 9dbc616

Please sign in to comment.