mirror of
https://github.com/openresty/openresty
synced 2025-02-23 08:19:34 +01:00
now we incorporate the official patch-lua-5.1.4-3 patch for lua5.1.
This commit is contained in:
parent
873b821f63
commit
5b9c7b89f4
@ -160,13 +160,13 @@ ver=5.1.4
|
||||
$root/util/get-tarball "http://www.lua.org/ftp/lua-$ver.tar.gz" -O "lua-$ver.tar.gz" || exit 1
|
||||
tar -xzf lua-$ver.tar.gz || exit 1
|
||||
|
||||
$root/util/get-tarball "http://www.lua.org/ftp/patch-lua-$ver-2" -O "patch-lua-$ver-2" || exit 1
|
||||
$root/util/get-tarball "http://www.lua.org/ftp/patch-lua-$ver-3" -O "patch-lua-$ver-3" || exit 1
|
||||
|
||||
cd lua-$ver/src || exit 1
|
||||
patch -p0 < ../../patch-lua-$ver-2 || exit 1
|
||||
patch -p0 < ../../patch-lua-$ver-3 || exit 1
|
||||
cd ../.. || exit 1
|
||||
|
||||
rm "patch-lua-$ver-2" || exit 1
|
||||
rm "patch-lua-$ver-3" || exit 1
|
||||
|
||||
cp $root/patches/lua-$ver-makefile_install_fix.patch lua-makefile-fix.patch || exit 1
|
||||
|
||||
|
2
util/ver
2
util/ver
@ -1,7 +1,7 @@
|
||||
#!/bin/bash
|
||||
|
||||
main_ver=0.8.54
|
||||
minor_ver=2
|
||||
minor_ver=3rc1
|
||||
version=$main_ver.$minor_ver
|
||||
echo $version
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user