Skip to content

Commit

Permalink
Fix release lib directory path in the start script
Browse files Browse the repository at this point in the history
  • Loading branch information
Rafal Studnicki committed Feb 21, 2014
1 parent 69b4234 commit f2ffb03
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ devrel: $(DEVNODES)
$(DEVNODES): rebar deps compile deps_dev
@echo "building $@"
(cd rel && ../rebar generate -f target_dir=../dev/mongooseim_$@ overlay_vars=./reltool_vars/$@_vars.config)
cp apps/ejabberd/src/*.erl dev/mongooseim_$@/lib/ejabberd-2.1.8*/ebin/
cp apps/ejabberd/src/*.erl `ls -dt dev/mongooseim_$@/lib/ejabberd-2.1.8*/ebin/ | head -1`
ifeq ($(shell uname), Linux)
cp -R `dirname $(shell readlink -f $(shell which erl))`/../lib/tools-* dev/mongooseim_$@/lib/
else
Expand Down
3 changes: 1 addition & 2 deletions rel/files/mongooseim
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ RUNNER_LOG_DIR=$RUNNER_BASE_DIR/log
PIPE_DIR=/tmp/$RUNNER_BASE_DIR/
RUNNER_USER=

EJABBERD_SO_WILDCARD=$RUNNER_BASE_DIR/lib/ejabberd-2.1.8*/priv/lib
EJABBERD_SO_PATH=`echo -n $EJABBERD_SO_WILDCARD`
EJABBERD_SO_PATH=`ls -dt $RUNNER_BASE_DIR/lib/ejabberd-2.1.8*/priv/lib | head -1`
EJABBERD_CONFIG_PATH=$RUNNER_ETC_DIR/ejabberd.cfg
export EJABBERD_SO_PATH
export EJABBERD_CONFIG_PATH
Expand Down

0 comments on commit f2ffb03

Please sign in to comment.