aboutsummaryrefslogtreecommitdiff
path: root/sbin/spark-class
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/spark-class')
-rwxr-xr-xsbin/spark-class4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/spark-class b/sbin/spark-class
index e111ef6da7..7f25fe1050 100755
--- a/sbin/spark-class
+++ b/sbin/spark-class
@@ -20,7 +20,7 @@
SCALA_VERSION=2.9.3
# Figure out where the Scala framework is installed
-FWDIR="$(cd `dirname $0`; pwd)"
+FWDIR="$(cd `dirname $0`/..; pwd)"
# Export this as SPARK_HOME
export SPARK_HOME="$FWDIR"
@@ -104,7 +104,7 @@ if [ ! -f "$FWDIR/RELEASE" ]; then
fi
# Compute classpath using external script
-CLASSPATH=`$FWDIR/bin/compute-classpath.sh`
+CLASSPATH=`$FWDIR/sbin/compute-classpath.sh`
export CLASSPATH
if [ "$SPARK_PRINT_LAUNCH_COMMAND" == "1" ]; then