forked from 2600hz/kazoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Roman Galeev
authored and
Roman Galeev
committed
May 24, 2016
1 parent
f91bca0
commit 3fdf562
Showing
3 changed files
with
32 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
#!/bin/sh | ||
# this script should be run from kazoo repository clone root | ||
|
||
if [ "$KAZOO_CONFIG" = "" ] | ||
then | ||
export KAZOO_CONFIG=$PWD/config.ini | ||
fi | ||
|
||
if [ "$KAZOO_NODE" = "" ] | ||
then | ||
KAZOO_NODE=kazoo@localhost | ||
fi | ||
|
||
CMD=$1 | ||
if [ "$CMD" = "" ] | ||
then | ||
CMD=console | ||
fi | ||
|
||
# some modules get compiled to this path by sync | ||
export ERL_LIBS=_rel/kazoo | ||
|
||
make build-dev-release | ||
|
||
RELX_REPLACE_OS_VARS=true KZname="-name $KAZOO_NODE" _rel/kazoo/bin/kazoo $CMD |