summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-08-14 14:39:42 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-08-14 14:39:42 -0500
commitf1ddf7dbb423c11d276507cad49c6281c7f0b351 (patch)
tree718177114efea5ba207d5d0d14e08ab841825791
parent730f45b3734e6cc14977942697696585823c57e7 (diff)
downloadimage-luarocks-f1ddf7dbb423c11d276507cad49c6281c7f0b351.tar.gz
image-luarocks-f1ddf7dbb423c11d276507cad49c6281c7f0b351.tar.bz2
image-luarocks-f1ddf7dbb423c11d276507cad49c6281c7f0b351.zip
Use whatever version
-rwxr-xr-xinit4
1 files changed, 3 insertions, 1 deletions
diff --git a/init b/init
index 1e3ea30..73ffda6 100755
--- a/init
+++ b/init
@@ -24,4 +24,6 @@ luarocks config variables.LUA_INCDIR /root/$luaver/src
24# Downstream is responsible for selecting the lua51.dll, whatever it's compiled for 24# Downstream is responsible for selecting the lua51.dll, whatever it's compiled for
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
27luarocks config variables.LUA_LIBDIR_OK true 27luarocks config variables.LUA_LIBDIR_OK true #sets it as a string
28sed -i 's/LUA_LIBDIR_OK = "true"/LUA_LIBDIR_OK = true/g' /etc/luarocks/config-$luaver.lua
29