Browse Source

Remove [[ for POSIX shell support

jcmdln 1 year ago
parent
commit
51248270e1
1 changed files with 2 additions and 2 deletions
  1. 2 2
      build_odin.sh

+ 2 - 2
build_odin.sh

@@ -117,10 +117,10 @@ run_demo() {
 	./odin run examples/demo/demo.odin -file
 	./odin run examples/demo/demo.odin -file
 }
 }
 
 
-if [[ $# -eq 0 ]]; then
+if [ $# -eq 0 ]; then
 	build_odin debug
 	build_odin debug
 	run_demo
 	run_demo
-elif [[ $# -eq 1 ]]; then
+elif [ $# -eq 1 ]; then
 	case $1 in
 	case $1 in
 	report)
 	report)
 		[ ! -f "./odin" ] && build_odin debug
 		[ ! -f "./odin" ] && build_odin debug