diff options
| author | Alexander M Pickering <alex@cogarr.net> | 2024-10-25 21:12:44 -0500 |
|---|---|---|
| committer | Alexander M Pickering <alex@cogarr.net> | 2024-10-25 21:12:44 -0500 |
| commit | 07e2cb01930afd4749a0de4bbcc06ad26022b430 (patch) | |
| tree | 9eec176578f8542abb180ee182632c22776118d9 | |
| parent | 6ab35e7c87e11902fefcbf72214f7dd24dcbfcd7 (diff) | |
| download | lpeg-packaging-master.tar.gz lpeg-packaging-master.tar.bz2 lpeg-packaging-master.zip | |
| -rwxr-xr-x | init | 2 |
1 files changed, 0 insertions, 2 deletions
| @@ -8,8 +8,6 @@ obj="lpeg-1.1.0-2.$(luarocks config arch).rock" | |||
| 8 | cp $obj /root | 8 | cp $obj /root |
| 9 | cd /root | 9 | cd /root |
| 10 | if [ -z $(echo $CFLAGS | grep -o -E -- '( |^)-g( |$)') ]; then | 10 | if [ -z $(echo $CFLAGS | grep -o -E -- '( |^)-g( |$)') ]; then |
| 11 | # Release build, delete docs/ and tests/ | ||
| 12 | zip -d $obj docs/ docs/* tests/ tests/* | ||
| 13 | # And pack the library with upx | 11 | # And pack the library with upx |
| 14 | unzip $obj lib/* | 12 | unzip $obj lib/* |
| 15 | upx --no-progress lib/* | 13 | upx --no-progress lib/* |
