summaryrefslogtreecommitdiff
path: root/init
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-12-09 01:26:04 -0600
committerAlexander M Pickering <alex@cogarr.net>2024-12-09 01:26:04 -0600
commit989ab24ace35fc655096e394ef2f041654b3c4a2 (patch)
tree2a67998b01cacd80bea9a415f150dad8a04da0bb /init
parent1fff0b708dfc71f924ec72a3e1dfa2bfe35f4f1a (diff)
downloadluasystem-packaging-989ab24ace35fc655096e394ef2f041654b3c4a2.tar.gz
luasystem-packaging-989ab24ace35fc655096e394ef2f041654b3c4a2.tar.bz2
luasystem-packaging-989ab24ace35fc655096e394ef2f041654b3c4a2.zip
try with some new stuff.
Diffstat (limited to 'init')
-rwxr-xr-xinit3
1 files changed, 3 insertions, 0 deletions
diff --git a/init b/init
index 14be120..206fcf8 100755
--- a/init
+++ b/init
@@ -3,6 +3,9 @@
3cd luasystem 3cd luasystem
4mv rockspecs/* . 4mv rockspecs/* .
5luarocks config variables.CFLAGS " $CFLAGS" 5luarocks config variables.CFLAGS " $CFLAGS"
6#No easy way to fool luarocks into building win32 instead of linux platform-specific stuff
7sed -i "s/linux/foobar/g" *.rockspec
8sed -i "s/win32/linux/g" *.rockspec
6luarocks make --pack-binary-rock luasystem-$packver.rockspec --verbose 9luarocks make --pack-binary-rock luasystem-$packver.rockspec --verbose
7obj="luasystem-$packver.$(luarocks config arch).rock" 10obj="luasystem-$packver.$(luarocks config arch).rock"
8cp $obj /root 11cp $obj /root