diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-08-19 12:32:40 -0500 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-08-19 12:32:40 -0500 |
commit | 69906e56fcf2744d6cb0fd12ab018cb7c9d55527 (patch) | |
tree | 918ee669997058903ca01c00b079f4e80f7b4eb3 | |
parent | 1d389aebec974166d5e53ee75e142b408fda3c30 (diff) | |
download | luafilesystem-packaging-69906e56fcf2744d6cb0fd12ab018cb7c9d55527.tar.gz luafilesystem-packaging-69906e56fcf2744d6cb0fd12ab018cb7c9d55527.tar.bz2 luafilesystem-packaging-69906e56fcf2744d6cb0fd12ab018cb7c9d55527.zip |
Simplify
-rwxr-xr-x | init | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -6,9 +6,7 @@ luarocks make --pack-binary-rock luafilesystem-scm-1.rockspec | |||
6 | obj="luafilesystem-scm-1.$(luarocks config arch).rock" | 6 | obj="luafilesystem-scm-1.$(luarocks config arch).rock" |
7 | cp $obj /root | 7 | cp $obj /root |
8 | cd /root | 8 | cd /root |
9 | if [ -n $(echo $CFLAGS | grep -o -E -- '( |^)-g( |$)') ]; then | 9 | if [ -z $(echo $CFLAGS | grep -o -E -- '( |^)-g( |$)') ]; then |
10 | # Debug build | ||
11 | else | ||
12 | # Release build, delete docs/ and tests/ | 10 | # Release build, delete docs/ and tests/ |
13 | zip -d $obj docs/ docs/* tests/ tests/* | 11 | zip -d $obj docs/ docs/* tests/ tests/* |
14 | # And pack the library | 12 | # And pack the library |