mirror of
https://github.com/openresty/openresty
synced 2024-11-09 18:35:51 +01:00
applied the hotfix patch #4 for lua 5.1.4.
This commit is contained in:
parent
e6ce800327
commit
d36afc91dd
@ -187,13 +187,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-3" -O "patch-lua-$ver-3" || exit 1
|
||||
$root/util/get-tarball "http://www.lua.org/ftp/patch-lua-$ver-4" -O "patch-lua-$ver-4" || exit 1
|
||||
|
||||
cd lua-$ver/src || exit 1
|
||||
patch -p0 < ../../patch-lua-$ver-3 || exit 1
|
||||
patch -p0 < ../../patch-lua-$ver-4 || exit 1
|
||||
cd ../.. || exit 1
|
||||
|
||||
rm "patch-lua-$ver-3" || exit 1
|
||||
rm "patch-lua-$ver-4" || exit 1
|
||||
|
||||
cp $root/patches/lua-$ver-makefile_install_fix.patch lua-makefile-fix.patch || exit 1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user