Skip to content

Commit

Permalink
[73_22] xmake: minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii committed Jan 28, 2024
1 parent f0a9287 commit ada221d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/research.lua
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function add_xpack_research(XMACS_VERSION)
set_specvar("PACKAGE_SHORTCUT_NAME", "Mogan Research")
_, pos = string.find(XMACS_VERSION, "-")
local XMACS_VERSION_XYZ= XMACS_VERSION
if not pos == nil then
if not (pos == nil) then
XMACS_VERSION_XYZ= string.sub(XMACS_VERSION, 1, pos-1)
end
set_version(XMACS_VERSION_XYZ)
Expand Down

0 comments on commit ada221d

Please sign in to comment.