diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-12-09 01:52:09 -0600 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-12-09 01:52:09 -0600 |
commit | d6bcb43f70ac2f8585855cd4635e566cce7e507f (patch) | |
tree | b866d7cc57601ba470e340a9540e527bd8b91ab9 | |
parent | 989ab24ace35fc655096e394ef2f041654b3c4a2 (diff) | |
download | luasystem-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-x | init | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -11,6 +11,8 @@ obj="luasystem-$packver.$(luarocks config arch).rock" | |||
11 | cp $obj /root | 11 | cp $obj /root |
12 | cd /root | 12 | cd /root |
13 | if [ -z $(echo $CFLAGS | grep -o -E -- '( |^)-g( |$)') ]; then | 13 | if [ -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/* |