diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-11-07 23:44:15 -0600 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-11-07 23:44:15 -0600 |
| commit | 36c872b96fb4335078558cec78075d2c332114ea (patch) | |
| tree | 98b92afeb051b171bf6444edb4f879c036f92e8d /init | |
| parent | 5b1bef8221d93e85260bfd394625ebd3d3202ae4 (diff) | |
| download | luarocks-packaging-36c872b96fb4335078558cec78075d2c332114ea.tar.gz luarocks-packaging-36c872b96fb4335078558cec78075d2c332114ea.tar.bz2 luarocks-packaging-36c872b96fb4335078558cec78075d2c332114ea.zip | |
Patch wget to use short options
Diffstat (limited to 'init')
| -rwxr-xr-x | init | 1 |
1 files changed, 1 insertions, 0 deletions
| @@ -11,6 +11,7 @@ cd luarocks | |||
| 11 | mkdir build-binary | 11 | mkdir build-binary |
| 12 | sed -i 's/local program_version = "dev"/local program_version = "lua4.win"/g' /root/luarocks/src/luarocks/core/cfg.lua | 12 | sed -i 's/local program_version = "dev"/local program_version = "lua4.win"/g' /root/luarocks/src/luarocks/core/cfg.lua |
| 13 | patch -i /root/luarocks-packaging/all_in_one.patch binary/all_in_one | 13 | patch -i /root/luarocks-packaging/all_in_one.patch binary/all_in_one |
| 14 | patch -i /root/luarocks-packaging/wget.patch src/luarocks/fs/tools.lua | ||
| 14 | LUAROCKS_CROSS_COMPILING=1 lua5.4 binary/all_in_one "src/bin/luarocks" "" "^src/luarocks/admin/" "/config" "build-binary" "yes" "windows" | 15 | LUAROCKS_CROSS_COMPILING=1 lua5.4 binary/all_in_one "src/bin/luarocks" "" "^src/luarocks/admin/" "/config" "build-binary" "yes" "windows" |
| 15 | if [ -e "/root/luarocks-packaging/luarocks.exe.c.$LUA_VER.patch" ]; then | 16 | if [ -e "/root/luarocks-packaging/luarocks.exe.c.$LUA_VER.patch" ]; then |
| 16 | patch -i "/root/luarocks-packaging/luarocks.exe.c.$LUA_VER.patch" build-binary/luarocks.exe.c | 17 | patch -i "/root/luarocks-packaging/luarocks.exe.c.$LUA_VER.patch" build-binary/luarocks.exe.c |
