diff options
Diffstat (limited to 'xmake/core/package/package.lua')
| -rw-r--r-- | xmake/core/package/package.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index a7f6e92b9..4a7a3ea18 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -164,7 +164,7 @@ end -- get the cached directory of this package function _instance:cachedir() - return path.join(package.cachedir(), self:name(), self:version_str()) + return path.join(package.cachedir(), self:name():sub(1, 1):lower(), self:name(), self:version_str()) end -- get the installed directory of this package @@ -176,7 +176,7 @@ function _instance:installdir() end -- make install directory - return path.join(package.installdir(self:from("global")), self:name(), self:version_str()) + return path.join(package.installdir(self:from("global")), self:name():sub(1, 1):lower(), self:name(), self:version_str()) end -- get versions |
