From a017d2ee597473d483350b5a3d57713fae392522 Mon Sep 17 00:00:00 2001 From: Jason Penn Date: Thu, 8 May 2014 16:48:09 +0800 Subject: [PATCH] modified: sbt/sbt --- sbt/sbt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sbt/sbt b/sbt/sbt index 62ead8a69dbf..7e89934a68ff 100755 --- a/sbt/sbt +++ b/sbt/sbt @@ -20,10 +20,10 @@ # This script launches sbt for this project. If present it uses the system # version of sbt. If there is no system version of sbt it attempts to download # sbt locally. -SBT_VERSION=`awk -F "=" '/sbt\\.version/ {print $2}' ./project/build.properties` +SBT_VERSION=`awk -F "=" '/sbt\\.version/ {print $2}' $SPARK_HOME/project/build.properties` URL1=http://typesafe.artifactoryonline.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/${SBT_VERSION}/sbt-launch.jar URL2=http://repo.typesafe.com/typesafe/ivy-releases/org.scala-sbt/sbt-launch/${SBT_VERSION}/sbt-launch.jar -JAR=sbt/sbt-launch-${SBT_VERSION}.jar +JAR=$SPARK_HOME/sbt/sbt-launch-${SBT_VERSION}.jar # Download sbt launch jar if it hasn't been downloaded yet if [ ! -f ${JAR} ]; then