summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xinit4
1 files changed, 1 insertions, 3 deletions
diff --git a/init b/init
index d0cfbb3..8d55897 100755
--- a/init
+++ b/init
@@ -6,9 +6,7 @@ luarocks make --pack-binary-rock luafilesystem-scm-1.rockspec
6obj="luafilesystem-scm-1.$(luarocks config arch).rock" 6obj="luafilesystem-scm-1.$(luarocks config arch).rock"
7cp $obj /root 7cp $obj /root
8cd /root 8cd /root
9if [ -n $(echo $CFLAGS | grep -o -E -- '( |^)-g( |$)') ]; then 9if [ -z $(echo $CFLAGS | grep -o -E -- '( |^)-g( |$)') ]; then
10 # Debug build
11else
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