mirror of
https://github.com/processone/ejabberd.git
synced 2024-12-22 17:28:25 +01:00
* tools/ejabberdctl: Work also when 'which' is unavailable
SVN Revision: 1419
This commit is contained in:
parent
92ce9af092
commit
19308d34e2
@ -1,3 +1,7 @@
|
|||||||
|
2008-07-08 Badlop <badlop@process-one.net>
|
||||||
|
|
||||||
|
* tools/ejabberdctl: Work also when 'which' is unavailable
|
||||||
|
|
||||||
2008-07-08 Christophe Romain <christophe.romain@process-one.net>
|
2008-07-08 Christophe Romain <christophe.romain@process-one.net>
|
||||||
|
|
||||||
* src/web/ejabberd_http_poll.erl: improve ip fetching patch
|
* src/web/ejabberd_http_poll.erl: improve ip fetching patch
|
||||||
|
@ -4,7 +4,8 @@ NODE=ejabberd
|
|||||||
HOST=localhost
|
HOST=localhost
|
||||||
|
|
||||||
# Define ejabberd environment
|
# Define ejabberd environment
|
||||||
base="`dirname $(which "$0")`/.."
|
here=`which "$0" 2>/dev/null || echo .`
|
||||||
|
base="`dirname $here`/.."
|
||||||
ROOTDIR=`(cd "$base"; echo $PWD)`
|
ROOTDIR=`(cd "$base"; echo $PWD)`
|
||||||
SASL_LOG_PATH=$ROOTDIR/sasl.log
|
SASL_LOG_PATH=$ROOTDIR/sasl.log
|
||||||
EJABBERD_DB=$ROOTDIR/database/$NODE
|
EJABBERD_DB=$ROOTDIR/database/$NODE
|
||||||
|
Loading…
Reference in New Issue
Block a user