diff options
-rw-r--r-- | install.bat | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/install.bat b/install.bat index 86766eb1..16a0ffc0 100644 --- a/install.bat +++ b/install.bat | |||
@@ -29,7 +29,8 @@ IF [%1]==[/?] ( | |||
29 | ECHO Installs LuaRocks. | 29 | ECHO Installs LuaRocks. |
30 | ECHO. | 30 | ECHO. |
31 | ECHO /P [dir] Where to install. | 31 | ECHO /P [dir] Where to install. |
32 | ECHO Default is %PREFIX% | 32 | ECHO Default is %PREFIX% (version; %VERSION%, will be |
33 | ECHO appended to this path^) | ||
33 | ECHO /CONFIG [dir] Location where the config file should be installed. | 34 | ECHO /CONFIG [dir] Location where the config file should be installed. |
34 | ECHO Default is same place of installation | 35 | ECHO Default is same place of installation |
35 | ECHO /TREE [dir] Root of the local tree of installed rocks. | 36 | ECHO /TREE [dir] Root of the local tree of installed rocks. |
@@ -38,6 +39,8 @@ IF [%1]==[/?] ( | |||
38 | ECHO Default is TREE/bin. | 39 | ECHO Default is TREE/bin. |
39 | ECHO. | 40 | ECHO. |
40 | ECHO /L Install LuaRocks' own copy of Lua even if detected. | 41 | ECHO /L Install LuaRocks' own copy of Lua even if detected. |
42 | ECHO (/LUA, /INC, /LIB, /BIN will be ignored when used | ||
43 | ECHO with /L^) | ||
41 | ECHO /LUA [dir] Location where Lua is installed - e.g. c:\lua\5.1\ | 44 | ECHO /LUA [dir] Location where Lua is installed - e.g. c:\lua\5.1\ |
42 | ECHO /INC [dir] Location of Lua includes - e.g. c:\lua\5.1\include | 45 | ECHO /INC [dir] Location of Lua includes - e.g. c:\lua\5.1\include |
43 | ECHO /LIB [dir] Location of Lua libraries -e.g. c:\lua\5.1\lib | 46 | ECHO /LIB [dir] Location of Lua libraries -e.g. c:\lua\5.1\lib |
@@ -157,7 +160,7 @@ FOR %%L IN (%LUA_PREFIX% c:\lua\5.1.2 c:\lua c:\kepler\1.1) DO ( | |||
157 | SET LUA_INTERPRETER=luajit.exe | 160 | SET LUA_INTERPRETER=luajit.exe |
158 | GOTO INTERPRETER_IS_SET | 161 | GOTO INTERPRETER_IS_SET |
159 | ) | 162 | ) |
160 | ECHO Lua executable lua.exe or lua5.1.exe not found in %LUA_BINDIR% | 163 | ECHO Lua executable lua.exe, luajit.exe or lua5.1.exe not found in %LUA_BINDIR% |
161 | GOTO ERROR | 164 | GOTO ERROR |
162 | ) | 165 | ) |
163 | SET CURR=%%L | 166 | SET CURR=%%L |