nathanmarz/storm — pull request #284 by ddutta (2012-08-07 10:53:46+00:00)
Title: Solves Issue 273 + we need to set JAVA_HOME from env vars

Debos-MacBook-Pro:bin ddutta$ git diff e264a25
diff --git a/bin/install_zmq.sh b/bin/install_zmq.sh
index 016af46..f70772d 100755
--- a/bin/install_zmq.sh
+++ b/bin/install_zmq.sh
@@ -1,5 +1,5 @@
#!/bin/bash
-export JAVA_HOME=$(/usr/libexec/java_home)
+export JAVA_HOME=${JAVA_HOME:/usr/libexec/java_home}

if [ ! -d "$JAVA_HOME/include" ]; then
echo "