diff options
author | Thijs Schreijer <thijs@thijsschreijer.nl> | 2013-11-18 09:41:20 +0100 |
---|---|---|
committer | Thijs Schreijer <thijs@thijsschreijer.nl> | 2013-11-18 09:41:20 +0100 |
commit | 579ad25c0c89e3844bd729ff909db5680fbbbe80 (patch) | |
tree | 21bc419e52c85e353f672f7594384c3639714739 | |
parent | a1f62e69ee7fdb1dfd6dc36aad48e1306a70bb14 (diff) | |
download | luarocks-579ad25c0c89e3844bd729ff909db5680fbbbe80.tar.gz luarocks-579ad25c0c89e3844bd729ff909db5680fbbbe80.tar.bz2 luarocks-579ad25c0c89e3844bd729ff909db5680fbbbe80.zip |
fixed type. Fixes #185
-rw-r--r-- | src/luarocks/cfg.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luarocks/cfg.lua b/src/luarocks/cfg.lua index e3d924fb..f66ad1d9 100644 --- a/src/luarocks/cfg.lua +++ b/src/luarocks/cfg.lua | |||
@@ -322,7 +322,7 @@ if detected.windows then | |||
322 | local localappdata = os.getenv("LOCALAPPDATA") | 322 | local localappdata = os.getenv("LOCALAPPDATA") |
323 | if not localappdata then | 323 | if not localappdata then |
324 | -- for Windows versions below Vista | 324 | -- for Windows versions below Vista |
325 | localappdata = os.getenv("USER_PROFILE").."/Local Settings/Application Data" | 325 | localappdata = os.getenv("USERPROFILE").."/Local Settings/Application Data" |
326 | end | 326 | end |
327 | defaults.local_cache = localappdata.."/LuaRocks/Cache" | 327 | defaults.local_cache = localappdata.."/LuaRocks/Cache" |
328 | end | 328 | end |