Skip to content

Commit e88c24c

Browse files
committed
Fixed double dot issue from installation binary bin2cpp-3.0.1-macos..14-arm64.tar.gz.
1 parent 2ec6302 commit e88c24c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ elseif (APPLE)
7070
# MAC_RELEASE_NAME used to resolve to something like `macOS Catalina`. Now On Github's Action,
7171
# the output is `macOS Unknown`. If the code name of the OS is Unknown, it is better to remove it completely.
7272
# Replace ` Unknown` by ``.
73-
string(REPLACE " Unknown" " " MAC_RELEASE_NAME "${MAC_RELEASE_NAME}")
73+
string(REPLACE " Unknown" "" MAC_RELEASE_NAME "${MAC_RELEASE_NAME}")
7474

7575
# Extract release MAJOR version
7676
get_major_version(${MAC_RELEASE_VER} MAC_RELEASE_VER_MAJOR)

0 commit comments

Comments
 (0)