diff --git a/build/cmd/build-plugin.sh b/build/cmd/build-plugin.sh index ebff0f4c09b071f9e65ec89ec7126da27febc239..712c25867e4d487a6b5b034d0056bec0d6cdf580 100644 --- a/build/cmd/build-plugin.sh +++ b/build/cmd/build-plugin.sh @@ -10,6 +10,9 @@ do fi done else + if [ ! -d "${BasePath}/app/plugins/" ];then + exit 0 + fi for i in $(ls ${BasePath}/app/plugins/) do buildPlugin $i diff --git a/build/console/resources/run.sh b/build/console/resources/run.sh index ce7afd151b26c9c02d849615346d9ffac15aeb01..f56cfaa5a6b19c556233661e4fc7e5d390d80e71 100644 --- a/build/console/resources/run.sh +++ b/build/console/resources/run.sh @@ -15,7 +15,7 @@ ## Fill in name of program here. cd $(dirname $0) # 当前位置跳到脚本位置 -PROG="console" +PROG="gateway-console" PROG_PATH="$(pwd)" ## Not need, but sometimes helpful (if $PROG resides in /opt for example). WORK_PATH="$PROG_PATH/work"