aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHisham Muhammad <hisham@gobolinux.org>2014-01-15 01:48:28 -0200
committerHisham Muhammad <hisham@gobolinux.org>2014-01-15 01:48:28 -0200
commit5d0f26db8d30d932aa3dc5d66c4530aafcc7b57a (patch)
treecfbcbece911ad7875607b3fdf73305a664a1c74d
parentb78aa96d3858554c49d3a6521f1d458fb80c3105 (diff)
parentc58ba1dfb5e63c810e56565b3d8abc6bce637126 (diff)
downloadluarocks-5d0f26db8d30d932aa3dc5d66c4530aafcc7b57a.tar.gz
luarocks-5d0f26db8d30d932aa3dc5d66c4530aafcc7b57a.tar.bz2
luarocks-5d0f26db8d30d932aa3dc5d66c4530aafcc7b57a.zip
Merge branch 'master' of github.com:keplerproject/luarocks
-rw-r--r--install.bat7
-rw-r--r--src/luarocks/fs/win32/tools.lua2
2 files changed, 6 insertions, 3 deletions
diff --git a/install.bat b/install.bat
index dfd94317..a17aff89 100644
--- a/install.bat
+++ b/install.bat
@@ -18,7 +18,10 @@ vars.LUA_LIBDIR = nil
18vars.LUA_LIBNAME = nil 18vars.LUA_LIBNAME = nil
19vars.LUA_VERSION = "5.1" 19vars.LUA_VERSION = "5.1"
20vars.LUA_SHORTV = nil -- "51" 20vars.LUA_SHORTV = nil -- "51"
21vars.LUA_LIB_NAMES = "lua5.1.lib lua51.dll liblua.dll.a" 21-- MinGW does not generate .lib, nor needs it to link, but MSVC does
22-- so .lib must be listed first to ensure they are found first if present.
23-- To prevent MSVC trying to link to a .dll, which won't work.
24vars.LUA_LIB_NAMES = "lua5.1.lib lua51.lib lua5.1.dll lua51.dll liblua.dll.a"
22vars.LUA_RUNTIME = nil 25vars.LUA_RUNTIME = nil
23vars.UNAME_M = nil 26vars.UNAME_M = nil
24 27
@@ -147,7 +150,7 @@ Configuring the Lua interpreter:
147 /LIB, and /BIN options. 150 /LIB, and /BIN options.
148/INC [dir] Location of Lua includes - e.g. c:\lua\5.1\include 151/INC [dir] Location of Lua includes - e.g. c:\lua\5.1\include
149 If provided overrides sub directory found using /LUA. 152 If provided overrides sub directory found using /LUA.
150/LIB [dir] Location of Lua libraries (.dll) - e.g. c:\lua\5.1\lib 153/LIB [dir] Location of Lua libraries (.dll/.lib) - e.g. c:\lua\5.1\lib
151 If provided overrides sub directory found using /LUA. 154 If provided overrides sub directory found using /LUA.
152/BIN [dir] Location of Lua executables - e.g. c:\lua\5.1\bin 155/BIN [dir] Location of Lua executables - e.g. c:\lua\5.1\bin
153 If provided overrides sub directory found using /LUA. 156 If provided overrides sub directory found using /LUA.
diff --git a/src/luarocks/fs/win32/tools.lua b/src/luarocks/fs/win32/tools.lua
index 24197f47..319a6724 100644
--- a/src/luarocks/fs/win32/tools.lua
+++ b/src/luarocks/fs/win32/tools.lua
@@ -364,5 +364,5 @@ function exists(file)
364end 364end
365 365
366function browser(url) 366function browser(url)
367 return fs.execute(cfg.web_browser.." "..url) 367 return fs.execute(cfg.web_browser..' "Starting docs..." '..fs.Q(url))
368end 368end