diff options
| author | Pierre Chapuis <git@catwell.info> | 2025-12-24 10:41:26 +0100 |
|---|---|---|
| committer | Pierre Chapuis <git@catwell.info> | 2025-12-26 11:06:49 +0100 |
| commit | 8ae28df89b164dc1b27406d9421dd06fac2efa9a (patch) | |
| tree | 257706b6bef09fcd3e7759985a9e46281e270005 /install.bat | |
| parent | 291fc8a34fc186b011c9d6b09a80bf179cae6f62 (diff) | |
| download | luarocks-8ae28df89b164dc1b27406d9421dd06fac2efa9a.tar.gz luarocks-8ae28df89b164dc1b27406d9421dd06fac2efa9a.tar.bz2 luarocks-8ae28df89b164dc1b27406d9421dd06fac2efa9a.zip | |
update handling of version-specific LUA_PATH / LUA_CPATH
Support Lua 5.4 and 5.5,
see https://github.com/luarocks/luarocks/pull/1832
Diffstat (limited to 'install.bat')
| -rw-r--r-- | install.bat | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/install.bat b/install.bat index 6dd71125..5210a862 100644 --- a/install.bat +++ b/install.bat | |||
| @@ -1058,6 +1058,12 @@ IF NOT "%LUA_PATH_5_2%"=="" ( | |||
| 1058 | IF NOT "%LUA_PATH_5_3%"=="" ( | 1058 | IF NOT "%LUA_PATH_5_3%"=="" ( |
| 1059 | SET "LUA_PATH_5_3=$LUADIR\?.lua;$LUADIR\?\init.lua;%LUA_PATH_5_3%" | 1059 | SET "LUA_PATH_5_3=$LUADIR\?.lua;$LUADIR\?\init.lua;%LUA_PATH_5_3%" |
| 1060 | ) | 1060 | ) |
| 1061 | IF NOT "%LUA_PATH_5_4%"=="" ( | ||
| 1062 | SET "LUA_PATH_5_4=$LUADIR\?.lua;$LUADIR\?\init.lua;%LUA_PATH_5_4%" | ||
| 1063 | ) | ||
| 1064 | IF NOT "%LUA_PATH_5_5%"=="" ( | ||
| 1065 | SET "LUA_PATH_5_5=$LUADIR\?.lua;$LUADIR\?\init.lua;%LUA_PATH_5_5%" | ||
| 1066 | ) | ||
| 1061 | SET "PATH=$BINDIR;%PATH%" | 1067 | SET "PATH=$BINDIR;%PATH%" |
| 1062 | "$LUA" "$BINDIR\]]..c..[[.lua" %* | 1068 | "$LUA" "$BINDIR\]]..c..[[.lua" %* |
| 1063 | SET EXITCODE=%ERRORLEVEL% | 1069 | SET EXITCODE=%ERRORLEVEL% |
