From d5b260e7dd17c43e45f5c16c663d3479fb8757d1 Mon Sep 17 00:00:00 2001
From: Takuya UESHIN <ueshin@happy-camper.st>
Date: Thu, 19 Dec 2013 02:16:04 +0900
Subject: [PATCH] Change the order of CLASSPATH.

---
 spark-class      | 2 +-
 spark-class2.cmd | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/spark-class b/spark-class
index 4fa6fb864e..ff51fbd557 100755
--- a/spark-class
+++ b/spark-class
@@ -124,7 +124,7 @@ fi
 
 # Compute classpath using external script
 CLASSPATH=`$FWDIR/bin/compute-classpath.sh`
-CLASSPATH="$SPARK_TOOLS_JAR:$CLASSPATH"
+CLASSPATH="$CLASSPATH:$SPARK_TOOLS_JAR"
 export CLASSPATH
 
 if [ "$SPARK_PRINT_LAUNCH_COMMAND" == "1" ]; then
diff --git a/spark-class2.cmd b/spark-class2.cmd
index 3869d0761b..a60c17d050 100644
--- a/spark-class2.cmd
+++ b/spark-class2.cmd
@@ -75,7 +75,7 @@ rem Compute classpath using external script
 set DONT_PRINT_CLASSPATH=1
 call "%FWDIR%bin\compute-classpath.cmd"
 set DONT_PRINT_CLASSPATH=0
-set CLASSPATH=%SPARK_TOOLS_JAR%;%CLASSPATH%
+set CLASSPATH=%CLASSPATH%;%SPARK_TOOLS_JAR%
 
 rem Figure out where java is.
 set RUNNER=java
-- 
GitLab