Commit 88e4e8cd authored by Vincent Wei's avatar Vincent Wei

fix a minor bug

parent d46802e4
......@@ -146,10 +146,10 @@ check_minigui_with_options() {
check_with_options() {
OPTIONS="--with-runmode=$1"
index=0
index=1
for i in $*
do
if [ $index != 0 ]; then
if [ $index != 1 ]; then
if [ ${i:0:1} = "-" ]; then
OPTIONS="$OPTIONS --disable$i"
else
......
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