diff options
| author | ruki <[email protected]> | 2020-12-19 00:33:58 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-12-19 00:33:58 +0800 |
| commit | bbf9e7988955d4385639ee30f5df309ff6891736 (patch) | |
| tree | cdd10d7f651bc6834c36b9874c7ce8c04b851c62 /xmake/core/package/package.lua | |
| parent | 37d4120c6cfd0454b45d606d2969e41631cc1f42 (diff) | |
add global cache directory
Diffstat (limited to 'xmake/core/package/package.lua')
| -rw-r--r-- | xmake/core/package/package.lua | 2 |
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 |
