Commit eb30a7c1 authored by Per Cederqvist's avatar Per Cederqvist
Browse files

Process all options, not just the first. Remove debug statements.

parent b731057b
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
compiler=default compiler=default
compat=false compat=false
while [ $# -gt 1 ] while [ $# -gt 0 ]
do do
case "$1" in case "$1" in
--compat) compat=true; shift;; --compat) compat=true; shift;;
...@@ -49,13 +49,11 @@ do ...@@ -49,13 +49,11 @@ do
done done
if $compat if $compat
then then :
echo bad: this is a compat build
else else
rm -rf r rm -rf r
mkdir r mkdir r
exec > r/shlog.txt 2>&1 exec > r/shlog.txt 2>&1
echo good: this is not a compat build
fi fi
VERS=`echo lyskom-server*tar.gz|sed s/lyskom-server-//|sed s/.tar.gz//` VERS=`echo lyskom-server*tar.gz|sed s/lyskom-server-//|sed s/.tar.gz//`
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment