Skip to content

Commit

Permalink
Merge pull request #23 from rhwood/master
Browse files Browse the repository at this point in the history
Use non-default JVM
  • Loading branch information
tlrobinson committed May 17, 2011
2 parents 86915a6 + df2f066 commit 9f4894a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions bin/narwhal
Expand Up @@ -26,6 +26,11 @@ if [ -f "narwhal.local.conf" ]; then
source "narwhal.local.conf"
fi

# if JAVA_HOME is set, prepend JAVA_HOME/bin to PATH so correct JVM is used
if [ -d "$JAVA_HOME" ]; then
export PATH=$JAVA_HOME/bin:$PATH
fi

if [ -n "$NARWHAL_DEBUG" ]; then
export NARWHAL_DEBUG
fi
Expand Down

0 comments on commit 9f4894a

Please sign in to comment.