Skip to content

Commit

Permalink
Consider COHORTE_BASE environment variable while running a node
Browse files Browse the repository at this point in the history
  • Loading branch information
debbabi committed Apr 14, 2016
1 parent f5028ba commit 6db30d2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ Changes form the 1.1.1 to 1.1.2 build: ${timestamp}
* Consider OSGi framework user-provided extra packages [isandlaTech/cohorte-runtime#36]
* Do not start Fragment bundles in OSGi [isandlaTech/cohorte-runtime#35]

** Improvements
* Consider COHORTE_BASE environment variable while running a node

Changes form the 1.1.0 to 1.1.1
-------------------------------

Expand Down
7 changes: 5 additions & 2 deletions bin/scripts/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,11 @@ def generate_run(node_dir):
echo
exit
fi
bash $COHORTE_HOME/bin/cohorte-start-node --base $(pwd) $*
if test -z "$COHORTE_BASE"
then
COHORTE_BASE=$(pwd)
fi
bash $COHORTE_HOME/bin/cohorte-start-node --base $COHORTE_BASE $*
"""

file_name = os.path.join(node_dir, "run")
Expand Down

0 comments on commit 6db30d2

Please sign in to comment.