From a67246ba86f32bbf66c0cf0497450ab0637b7ae1 Mon Sep 17 00:00:00 2001 From: Enno Rehling Date: Sat, 13 Feb 2021 18:43:20 +0100 Subject: [PATCH] there is only one repository for tolua now --- s/cmake-init | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/s/cmake-init b/s/cmake-init index 167ec2fd6..0fe4735c9 100755 --- a/s/cmake-init +++ b/s/cmake-init @@ -78,21 +78,16 @@ fi DEST=$(dirname $ROOT)/server -TOLUA_VERSION="5.2" LUA_INCLUDE=/usr/include LUA_DIR=/usr if [ -d /usr/local/include/lua ]; then - TOLUA_VERSION="5.2" LUA_INCLUDE=/usr/local/include/lua elif [ -d /usr/include/lua5.2 ]; then - TOLUA_VERSION="5.2" LUA_INCLUDE=/usr/include/lua5.2 elif [ -d /usr/include/lua5.1 ]; then - TOLUA_VERSION="5.1" LUA_INCLUDE=/usr/include/lua5.1 elif [ -d /usr/local/include/lua5.1 ]; then LUA_DIR=/usr/local - TOLUA_VERSION="5.1" LUA_INCLUDE=/usr/local/include/lua5.1 fi @@ -115,8 +110,8 @@ if [ "$HAVE_TOLUA" = "0" ] || [ -z $path ] ; then echo "tolua is not installed, building from source" cd $ROOT if [ ! -d tolua/include ]; then - echo "fetching tolua ${TOLUA_VERSION} from github..." - git clone https://github.com/ennorehling/tolua-${TOLUA_VERSION}.git tolua + echo "fetching tolua from github..." + git clone https://github.com/ennorehling/tolua.git tolua fi echo "building tolua..." cd tolua