From 4f652fba67d67ff128771dba14e54bf636b50b19 Mon Sep 17 00:00:00 2001 From: Alexander M Pickering Date: Wed, 14 Aug 2024 15:08:53 -0500 Subject: Use a different way to address config file --- init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'init') diff --git a/init b/init index fda870f..f40b4cb 100755 --- a/init +++ b/init @@ -25,5 +25,5 @@ luarocks config variables.LUA_INCDIR /root/$luaver/src luarocks config variables.LUA_LIBDIR /root # Luarocks checks for liblua.so and liblua.a but gcc looks for liblua.dll # Can't use luarocks config because it sets it as a string -echo "variables.LUA_LIBDIR_OK = true" >> /etc/luarocks/config-*.lua +echo "variables.LUA_LIBDIR_OK = true" >> "$(luarocks config config_files.nearest)" -- cgit v1.2.3-55-g6feb