diff options
| author | Hisham Muhammad <hisham@gobolinux.org> | 2014-01-15 01:48:28 -0200 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2014-01-15 01:48:28 -0200 |
| commit | 5d0f26db8d30d932aa3dc5d66c4530aafcc7b57a (patch) | |
| tree | cfbcbece911ad7875607b3fdf73305a664a1c74d | |
| parent | b78aa96d3858554c49d3a6521f1d458fb80c3105 (diff) | |
| parent | c58ba1dfb5e63c810e56565b3d8abc6bce637126 (diff) | |
| download | luarocks-5d0f26db8d30d932aa3dc5d66c4530aafcc7b57a.tar.gz luarocks-5d0f26db8d30d932aa3dc5d66c4530aafcc7b57a.tar.bz2 luarocks-5d0f26db8d30d932aa3dc5d66c4530aafcc7b57a.zip | |
Merge branch 'master' of github.com:keplerproject/luarocks
| -rw-r--r-- | install.bat | 7 | ||||
| -rw-r--r-- | src/luarocks/fs/win32/tools.lua | 2 |
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 | |||
| 18 | vars.LUA_LIBNAME = nil | 18 | vars.LUA_LIBNAME = nil |
| 19 | vars.LUA_VERSION = "5.1" | 19 | vars.LUA_VERSION = "5.1" |
| 20 | vars.LUA_SHORTV = nil -- "51" | 20 | vars.LUA_SHORTV = nil -- "51" |
| 21 | vars.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. | ||
| 24 | vars.LUA_LIB_NAMES = "lua5.1.lib lua51.lib lua5.1.dll lua51.dll liblua.dll.a" | ||
| 22 | vars.LUA_RUNTIME = nil | 25 | vars.LUA_RUNTIME = nil |
| 23 | vars.UNAME_M = nil | 26 | vars.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) | |||
| 364 | end | 364 | end |
| 365 | 365 | ||
| 366 | function browser(url) | 366 | function browser(url) |
| 367 | return fs.execute(cfg.web_browser.." "..url) | 367 | return fs.execute(cfg.web_browser..' "Starting docs..." '..fs.Q(url)) |
| 368 | end | 368 | end |
