Skip to content

Commit

Permalink
fixed bad reference to main LuaRocks install path, should fix AppVeyo…
Browse files Browse the repository at this point in the history
…r failures
  • Loading branch information
Tieske committed Jul 20, 2015
1 parent 838f1f9 commit a625fe2
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion .appveyor/build.bat
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ set LUA_PATH=%LUA_PATH%;%LR_SYSTREE%\share\lua\%LUA_SHORTV%\?\init.lua
set LUA_CPATH=%LR_SYSTREE%\lib\lua\%LUA_SHORTV%\?.dll

call luarocks --version || call :die "Error with LuaRocks installation"
cd && dir
call luarocks list


Expand Down
2 changes: 1 addition & 1 deletion src/luarocks/cfg.lua
Original file line number Diff line number Diff line change
Expand Up @@ -374,7 +374,7 @@ local defaults = {
}

if cfg.platforms.windows then
local full_prefix = (site_config.LUAROCKS_PREFIX or (os.getenv("PROGRAMFILES")..[[\LuaRocks]])).."\\"..cfg.major_version
local full_prefix = (site_config.LUAROCKS_PREFIX or (os.getenv("PROGRAMFILES")..[[\LuaRocks]]))
extra_luarocks_module_dir = full_prefix.."\\lua\\?.lua"

home_config_file = home_config_file and home_config_file:gsub("\\","/")
Expand Down

0 comments on commit a625fe2

Please sign in to comment.