diff options
| -rw-r--r-- | install.bat | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/install.bat b/install.bat index 3d7b2ecd..07b06d61 100644 --- a/install.bat +++ b/install.bat | |||
| @@ -1024,6 +1024,17 @@ end | |||
| 1024 | if not exec(S[[XCOPY /S src\luarocks\*.* "$LUADIR\luarocks" >NUL]]) then | 1024 | if not exec(S[[XCOPY /S src\luarocks\*.* "$LUADIR\luarocks" >NUL]]) then |
| 1025 | die() | 1025 | die() |
| 1026 | end | 1026 | end |
| 1027 | if vars.LUA_VERSION ~= "5.3" or vars.LUA_VERSION ~= "5.4" then | ||
| 1028 | -- Copy the vendored lua-copmat53 source files | ||
| 1029 | if not exists(S[[$LUADIR\compat53]]) then | ||
| 1030 | if not mkdir(S[[$LUADIR\compat53]]) then | ||
| 1031 | die() | ||
| 1032 | end | ||
| 1033 | end | ||
| 1034 | if not exec(S[[XCOPY /S src\compat53\*.* "$LUADIR\compat53" >NUL]]) then | ||
| 1035 | die() | ||
| 1036 | end | ||
| 1037 | end | ||
| 1027 | -- Create start scripts | 1038 | -- Create start scripts |
| 1028 | if not exec(S[[COPY src\bin\*.* "$BINDIR" >NUL]]) then | 1039 | if not exec(S[[COPY src\bin\*.* "$BINDIR" >NUL]]) then |
| 1029 | die() | 1040 | die() |
