summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-08-14 15:08:53 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-08-14 15:08:53 -0500
commit4f652fba67d67ff128771dba14e54bf636b50b19 (patch)
tree8bcb265bf393fa949ffcda86b5db5b38afa6ae5d
parente95982af38c2e958059964982fd2cb75518c359f (diff)
downloadimage-luarocks-4f652fba67d67ff128771dba14e54bf636b50b19.tar.gz
image-luarocks-4f652fba67d67ff128771dba14e54bf636b50b19.tar.bz2
image-luarocks-4f652fba67d67ff128771dba14e54bf636b50b19.zip
Use a different way to address config file
-rwxr-xr-xinit2
1 files changed, 1 insertions, 1 deletions
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
25luarocks config variables.LUA_LIBDIR /root 25luarocks config variables.LUA_LIBDIR /root
26# Luarocks checks for liblua.so and liblua.a but gcc looks for liblua.dll 26# Luarocks checks for liblua.so and liblua.a but gcc looks for liblua.dll
27# Can't use luarocks config because it sets it as a string 27# Can't use luarocks config because it sets it as a string
28echo "variables.LUA_LIBDIR_OK = true" >> /etc/luarocks/config-*.lua 28echo "variables.LUA_LIBDIR_OK = true" >> "$(luarocks config config_files.nearest)"
29 29