Skip to content

Commit

Permalink
调整获取脚本目录的方式,修复不在bin目录下无法启动问题
Browse files Browse the repository at this point in the history
  • Loading branch information
banyeliangzhong committed Apr 13, 2016
1 parent 9fa4b32 commit 83259ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/start-lucene.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
DK_HOME=$(pwd)
DK_HOME=$(cd "$(dirname "$0")"; pwd)
CONFDIR="${DK_HOME}/../conf"
LOG_HOME="${DK_HOME}/../logs"
CLASSPATH="${DK_HOME}/../lib/*:${CONFDIR}"
Expand Down
2 changes: 1 addition & 1 deletion bin/start-mongodb.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
DK_HOME=$(pwd)
DK_HOME=$(cd "$(dirname "$0")"; pwd)
CONFDIR="${DK_HOME}/../conf"
LOG_HOME="${DK_HOME}/../logs"
CLASSPATH="${DK_HOME}/../lib/*:${CONFDIR}"
Expand Down
2 changes: 1 addition & 1 deletion bin/start-mysql.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
DK_HOME=$(pwd)
DK_HOME=$(cd "$(dirname "$0")"; pwd)
CONFDIR="${DK_HOME}/../conf"
LOG_HOME="${DK_HOME}/../logs"
CLASSPATH="${DK_HOME}/../lib/*:${CONFDIR}"
Expand Down

0 comments on commit 83259ac

Please sign in to comment.