aboutsummaryrefslogtreecommitdiff
path: root/bin/load-spark-env.cmd
diff options
context:
space:
mode:
Diffstat (limited to 'bin/load-spark-env.cmd')
-rw-r--r--bin/load-spark-env.cmd6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/load-spark-env.cmd b/bin/load-spark-env.cmd
index 59080edd29..0977025c20 100644
--- a/bin/load-spark-env.cmd
+++ b/bin/load-spark-env.cmd
@@ -27,7 +27,7 @@ if [%SPARK_ENV_LOADED%] == [] (
if not [%SPARK_CONF_DIR%] == [] (
set user_conf_dir=%SPARK_CONF_DIR%
) else (
- set user_conf_dir=%~dp0..\conf
+ set user_conf_dir=..\conf
)
call :LoadSparkEnv
@@ -35,8 +35,8 @@ if [%SPARK_ENV_LOADED%] == [] (
rem Setting SPARK_SCALA_VERSION if not already set.
-set ASSEMBLY_DIR2=%SPARK_HOME%/assembly/target/scala-2.11
-set ASSEMBLY_DIR1=%SPARK_HOME%/assembly/target/scala-2.10
+set ASSEMBLY_DIR2="%SPARK_HOME%\assembly\target\scala-2.11"
+set ASSEMBLY_DIR1="%SPARK_HOME%\assembly\target\scala-2.10"
if [%SPARK_SCALA_VERSION%] == [] (