summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/package/package.lua')
-rw-r--r--xmake/core/package/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index cdc0dfcef..135329d10 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -1344,7 +1344,7 @@ end
-- the cache directory
function package.cachedir()
- return path.join(global.directory(), "cache", "packages", os.date("%y%m"))
+ return path.join(global.cachedir(), "packages", os.date("%y%m"))
end
-- the install directory