summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander M Pickering <alex@cogarr.net>2024-12-09 01:52:09 -0600
committerAlexander M Pickering <alex@cogarr.net>2024-12-09 01:52:09 -0600
commitd6bcb43f70ac2f8585855cd4635e566cce7e507f (patch)
treeb866d7cc57601ba470e340a9540e527bd8b91ab9
parent989ab24ace35fc655096e394ef2f041654b3c4a2 (diff)
downloadluasystem-packaging-bug/fix_system.tar.gz
luasystem-packaging-bug/fix_system.tar.bz2
luasystem-packaging-bug/fix_system.zip
Delete doc from rock in release buildsbug/fix_system
-rwxr-xr-xinit2
1 files changed, 2 insertions, 0 deletions
diff --git a/init b/init
index 206fcf8..cc8d540 100755
--- a/init
+++ b/init
@@ -11,6 +11,8 @@ obj="luasystem-$packver.$(luarocks config arch).rock"
11cp $obj /root 11cp $obj /root
12cd /root 12cd /root
13if [ -z $(echo $CFLAGS | grep -o -E -- '( |^)-g( |$)') ]; then 13if [ -z $(echo $CFLAGS | grep -o -E -- '( |^)-g( |$)') ]; then
14 # Release build, delete docs/
15 zip -d $obj doc/ doc/*
14 # And pack the library with upx 16 # And pack the library with upx
15 unzip $obj lib/* 17 unzip $obj lib/*
16 upx --no-progress lib/* 18 upx --no-progress lib/*