We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0204508 commit c3d03f9Copy full SHA for c3d03f9
xmake/core/package/package.lua
@@ -784,7 +784,7 @@ function _instance:cachedir()
784
local name = self:displayname():lower():gsub("::", "_"):gsub("#", "_")
785
local version_str = self:version_str()
786
-- strip invalid characters on windows, e.g. `>= <=`
787
- if is_host("windows") then
+ if os.is_host("windows") then
788
version_str = version_str:gsub("[>=<]", "")
789
end
790
if self:is_local() then
@@ -813,7 +813,7 @@ function _instance:installdir(...)
813
814
if version_str then
815
816
817
818
819
installdir = path.join(installdir, version_str)
0 commit comments