mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-20 16:15:59 +01:00
Let "make dev" always update SCRIPT_DIR in ejabberdctl, even if link exists
This commit is contained in:
parent
ac06161f30
commit
b93fc4333c
@ -8,8 +8,9 @@ CTLPATH=$BIN_DIR/ejabberdctl
|
||||
|
||||
[ ! -f "ejabberdctl" ] \
|
||||
&& echo -n "ejabberdctl " \
|
||||
&& ln -s $CTLPATH ejabberdctl \
|
||||
&& (cd $BIN_DIR && sed -i "s|^SCRIPT_DIR=.*|SCRIPT_DIR=`pwd`|g" ejabberdctl)
|
||||
&& ln -s $CTLPATH ejabberdctl
|
||||
|
||||
(cd $BIN_DIR && sed -i "s|^SCRIPT_DIR=.*|SCRIPT_DIR=`pwd`|g" ejabberdctl)
|
||||
|
||||
cd $CON_DIR
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user