title: How can I fix this bash if/then/else script?
body: <p>What is wrong with my simple if/then/else bash script?</p>
  
  <pre><code>if [ "$C" = "dev" ];then
    export PREFIX=/home/bubu
    export SERVER=localhost:2112
  elif [ "$C" = "test" ]
    export PREFIX=/server/node
    export SERVER=e.foo.com:44033
  else
    export PREFIX=/server/node
    export SERVER=f.foo.com:44033
  fi
  
  ./foo.sh: line 9: syntax error near unexpected token `else'
  ./foo.sh: line 9: `else'
  </code></pre>