This commit is contained in:
Redkale
2017-11-24 19:51:46 +08:00
parent 6c11ef70d4
commit c47e301263
2 changed files with 10 additions and 1 deletions

View File

@@ -8,6 +8,10 @@ export LC_ALL="zh_CN.UTF-8"
APP_HOME=`dirname "$0"`
cd "$APP_HOME"/..
APP_HOME=`pwd`
if [ ! -f "$APP_HOME"/conf/application.xml ]; then
APP_HOME="$APP_HOME"/..
fi