mesos/spark — pull request #714 by ctn (2013-07-18 16:25:36+00:00)
Title: [BUGFIX]  Fix for sbt/sbt script SPARK_HOME setting

In some environments, this command generates incorrect result. This PR fixes it. More details in the fork's commit.

export SPARK_HOME=$(cd "$(dirname $0)/.."; pwd)

Tested/works on Ubuntu 12/13, MacOS 10.7/10.8, Amazon Linux AMI 2013.03.