From e95982af38c2e958059964982fd2cb75518c359f Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Wed, 14 Aug 2024 15:03:46 -0500 Subject: Set LUA_LIBDIR_OK a different way. --- init | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/init b/init index 73ffda6..fda870f 100755 --- a/init +++ b/init @@ -24,6 +24,6 @@ luarocks config variables.LUA_INCDIR /root/$luaver/src # Downstream is responsible for selecting the lua51.dll, whatever it's compiled for luarocks config variables.LUA_LIBDIR /root # Luarocks checks for liblua.so and liblua.a but gcc looks for liblua.dll -luarocks config variables.LUA_LIBDIR_OK true #sets it as a string -sed -i 's/LUA_LIBDIR_OK = "true"/LUA_LIBDIR_OK = true/g' /etc/luarocks/config-$luaver.lua +# Can't use luarocks config because it sets it as a string +echo "variables.LUA_LIBDIR_OK = true" >> /etc/luarocks/config-*.lua -- cgit v1.2.3-55-g6feb