diff options
| author | Tobiasz Laskowski <tobil4sk@outlook.com> | 2025-02-24 21:56:59 +0000 |
|---|---|---|
| committer | Hisham Muhammad <hisham@gobolinux.org> | 2025-02-24 20:11:55 -0300 |
| commit | 20944c76ff1c50f1a8af1e6df90c90cd08756ae6 (patch) | |
| tree | b5816b6d624c5aa252a09807170d62fd6b113234 | |
| parent | 71b7dd641892dd302cf37c270c472248b24ef8a4 (diff) | |
| download | luarocks-20944c76ff1c50f1a8af1e6df90c90cd08756ae6.tar.gz luarocks-20944c76ff1c50f1a8af1e6df90c90cd08756ae6.tar.bz2 luarocks-20944c76ff1c50f1a8af1e6df90c90cd08756ae6.zip | |
Add lua-compat53 files in install.bat
| -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() |
