diff options
Diffstat (limited to 'src/luarocks/cfg.lua')
-rw-r--r-- | src/luarocks/cfg.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index d4bcbfb6..ddcfac9d 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -168,6 +168,7 @@ if detected.windows then | |||
168 | lib = { "?.dll" }, | 168 | lib = { "?.dll" }, |
169 | include = { "?.h" } | 169 | include = { "?.h" } |
170 | } | 170 | } |
171 | defaults.local_cache = home.."/cache/luarocks" | ||
171 | end | 172 | end |
172 | 173 | ||
173 | if detected.unix then | 174 | if detected.unix then |
@@ -195,6 +196,7 @@ if detected.unix then | |||
195 | lib = { "lib?.so" }, | 196 | lib = { "lib?.so" }, |
196 | include = { "?.h" } | 197 | include = { "?.h" } |
197 | } | 198 | } |
199 | defaults.local_cache = home.."/.cache/luarocks" | ||
198 | end | 200 | end |
199 | 201 | ||
200 | if detected.cygwin then | 202 | if detected.cygwin then |