我有一个脚本:
#!/bin/bash
if [ "$JAR_FILE" = "NewTekkit.jar" ]; then
cd "$SERVER_DIR"
unzip -nu "$JAR_DIR/NewTekkit.zip"
else
if [ "$JAR_FILE" = "TekkitLite.jar" ]; then
cd "$SERVER_DIR"
unzip -nu "$JAR_DIR/TekkitLite.zip"
fi
exit 0
我得到了错误:2013-05-31 18:00:44,817 DEBUG server 120: Server Prepare: Error: /home/minecraft/multicraft/scripts/startup.sh: line 11: syntax error: unexpected end of file
请帮忙。
谢谢。