diff --git a/build_io.sh b/build_io.sh
index 0eb41017248e87741eacc85361c589c871c2a024..10ef3c7623b6de78c24e9d9de0248d64d7924e56 100755
--- a/build_io.sh
+++ b/build_io.sh
@@ -21,7 +21,7 @@ sh ./autogen.sh
 if [ "$2" == "master" ]
 then
  sh ./configure --disable-gpu
-else if [ "$2" == "gin" ]
+elif [ "$2" == "gin" ]
 then
  sh ./configure --with-boost=/sw/apps/boost/1.54.0/
 else