aboutsummaryrefslogtreecommitdiff
path: root/rel
diff options
context:
space:
mode:
authorBadlop <badlop@process-one.net>2021-06-25 13:08:06 +0200
committerBadlop <badlop@process-one.net>2021-06-27 17:32:04 +0200
commitb93fc4333c0e6281f6a41a6abf3e4309b2948661 (patch)
treea47c1bc757dc0b3b1c59cad39bbb62bad9051104 /rel
parentThere are so many targets... add "make help" (diff)
Let "make dev" always update SCRIPT_DIR in ejabberdctl, even if link exists
Diffstat (limited to 'rel')
-rwxr-xr-xrel/setup-dev.sh5
1 files changed, 3 insertions, 2 deletions
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