mirror of
https://github.com/processone/ejabberd.git
synced 2024-11-24 16:23:40 +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" ] \
|
[ ! -f "ejabberdctl" ] \
|
||||||
&& echo -n "ejabberdctl " \
|
&& echo -n "ejabberdctl " \
|
||||||
&& ln -s $CTLPATH ejabberdctl \
|
&& ln -s $CTLPATH ejabberdctl
|
||||||
&& (cd $BIN_DIR && sed -i "s|^SCRIPT_DIR=.*|SCRIPT_DIR=`pwd`|g" ejabberdctl)
|
|
||||||
|
(cd $BIN_DIR && sed -i "s|^SCRIPT_DIR=.*|SCRIPT_DIR=`pwd`|g" ejabberdctl)
|
||||||
|
|
||||||
cd $CON_DIR
|
cd $CON_DIR
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user