mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
Remove [[ for POSIX shell support
This commit is contained in:
+2
-2
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user