summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-08-05 20:25:23 -0500
committerAlexander M Pickering <alex@cogarr.net>2024-08-05 20:25:23 -0500
commitb2402d16826e756807c1b732381499a79b7d9107 (patch)
tree8e637d2adfdbe8e595c03c57682dec58f591fdae
parenta997eb84ddaa4ffa27c6bc89be236e732fcd2ec2 (diff)
downloadluafilesystem-packaging-b2402d16826e756807c1b732381499a79b7d9107.tar.gz
luafilesystem-packaging-b2402d16826e756807c1b732381499a79b7d9107.tar.bz2
luafilesystem-packaging-b2402d16826e756807c1b732381499a79b7d9107.zip
Correct prepare sctipt
-rwxr-xr-xprepare6
1 files changed, 3 insertions, 3 deletions
diff --git a/prepare b/prepare
index a4b67d0..f669f86 100755
--- a/prepare
+++ b/prepare
@@ -2,7 +2,7 @@
2 2
3rc-service networking start 3rc-service networking start
4 4
5apk add luarocks$rocks_ver 5apk add luarocks$rockver
6luaver=$(ls lua-*.tar.gz | grep -Eo "lua-.\\..") 6luaver=$(ls lua-*.tar.gz | grep -Eo "lua-.\\..")
7mkdir "$luaver" 7mkdir "$luaver"
8tar -xvzf lua-*.tar.gz --directory="$luaver" --strip-components=1 8tar -xvzf lua-*.tar.gz --directory="$luaver" --strip-components=1
@@ -13,5 +13,5 @@ rm -rf /root/$luaver/etc
13rm /root/*.tar.gz 13rm /root/*.tar.gz
14rm -rf /root/image-mingw64 14rm -rf /root/image-mingw64
15rm -rf /root/luafilesystem-packaging 15rm -rf /root/luafilesystem-packaging
16luarocks-$rocks_ver config variables.LUA_INCDIR "/root/$luaver/src" 16luarocks-$rockver config variables.LUA_INCDIR "/root/$luaver/src"
17luarocks-$rocks_ver config variables.CFLAGS "$CFLAGS" 17luarocks-$rockver config variables.CFLAGS "$CFLAGS"