25
1
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:
Badlop 2021-06-25 13:08:06 +02:00
parent ac06161f30
commit b93fc4333c

View File

@ -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