aboutsummaryrefslogtreecommitdiff
path: root/bin/run-example2.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'bin/run-example2.cmd')
-rw-r--r--bin/run-example2.cmd4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/run-example2.cmd b/bin/run-example2.cmd
index dbb371ecfc..e250a92965 100644
--- a/bin/run-example2.cmd
+++ b/bin/run-example2.cmd
@@ -20,7 +20,7 @@ rem
set SCALA_VERSION=2.9.3
rem Figure out where the Spark framework is installed
-set FWDIR=%~dp0
+set FWDIR=%~dp0..\
rem Export this as SPARK_HOME
set SPARK_HOME=%FWDIR%
@@ -49,7 +49,7 @@ if "x%SPARK_EXAMPLES_JAR%"=="x" (
rem Compute Spark classpath using external script
set DONT_PRINT_CLASSPATH=1
-call "%FWDIR%bin\compute-classpath.cmd"
+call "%FWDIR%sbin\compute-classpath.cmd"
set DONT_PRINT_CLASSPATH=0
set CLASSPATH=%SPARK_EXAMPLES_JAR%;%CLASSPATH%