summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-12-09 02:07:34 -0600
committerAlexander M Pickering <alex@cogarr.net>2024-12-09 02:07:34 -0600
commitcd88c68935211a6a992a2af215453206573d0446 (patch)
treefcb32a4b34da305a7d582a81835845a207288300
parentf5c356b5f4611eaad8a518a807b7da2b6fcb0b33 (diff)
downloadluasystem-packaging-master.tar.gz
luasystem-packaging-master.tar.bz2
luasystem-packaging-master.zip
Remove verbose flag and pack right fileHEADmaster
-rwxr-xr-xinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/init b/init
index cc8d540..b7cfe5f 100755
--- a/init
+++ b/init
@@ -6,7 +6,7 @@ luarocks config variables.CFLAGS " $CFLAGS"
6#No easy way to fool luarocks into building win32 instead of linux platform-specific stuff 6#No easy way to fool luarocks into building win32 instead of linux platform-specific stuff
7sed -i "s/linux/foobar/g" *.rockspec 7sed -i "s/linux/foobar/g" *.rockspec
8sed -i "s/win32/linux/g" *.rockspec 8sed -i "s/win32/linux/g" *.rockspec
9luarocks make --pack-binary-rock luasystem-$packver.rockspec --verbose 9luarocks make --pack-binary-rock luasystem-$packver.rockspec
10obj="luasystem-$packver.$(luarocks config arch).rock" 10obj="luasystem-$packver.$(luarocks config arch).rock"
11cp $obj /root 11cp $obj /root
12cd /root 12cd /root
@@ -15,6 +15,6 @@ if [ -z $(echo $CFLAGS | grep -o -E -- '( |^)-g( |$)') ]; then
15 zip -d $obj doc/ doc/* 15 zip -d $obj doc/ doc/*
16 # And pack the library with upx 16 # And pack the library with upx
17 unzip $obj lib/* 17 unzip $obj lib/*
18 upx --no-progress lib/* 18 upx --no-progress lib/system/*
19 zip -r "$obj" lib 19 zip -r "$obj" lib
20fi 20fi