diff options
Diffstat (limited to 'init')
-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/* |