1
自动安装devstack的Bash脚本有什么问题?
我创建了这个bash脚本来自动安装devstack。一切正常,只有当我想退出菜单时,我才收到此错误: ./script.sh: line 12: syntax error near unexpected token ')' ./script.sh line 12: '2) exit' 这里是 ./script.sh #!/bin/bash clear echo "=================" echo "test" echo "=================" echo "1. test" echo "2. exit menu" echo -e "Maak een selectie en druk daarna op <Enter>" read answer case "$answer" in 1) ./installatiedev.sh 2) …