diff --git a/rel/setup-dev.sh b/rel/setup-dev.sh index 664a2a68d..cd0f90d9e 100755 --- a/rel/setup-dev.sh +++ b/rel/setup-dev.sh @@ -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