From ced65f705d52262404939846a1c68157366a9dba Mon Sep 17 00:00:00 2001 From: Marcelo Vanzin Date: Thu, 12 Mar 2015 10:04:33 -0700 Subject: [PATCH] [build] [hotfix] Fix make-distribution.sh for Scala 2.11. --- make-distribution.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/make-distribution.sh b/make-distribution.sh index 82d33408cd5e..9ed1abfe8c59 100755 --- a/make-distribution.sh +++ b/make-distribution.sh @@ -127,7 +127,9 @@ if [ ! $(command -v "$MVN") ] ; then fi VERSION=$("$MVN" help:evaluate -Dexpression=project.version 2>/dev/null | grep -v "INFO" | tail -n 1) -SCALA_VERSION=$("$MVN" help:evaluate -Dexpression=scala.binary.version 2>/dev/null | grep -v "INFO" | tail -n 1) +SCALA_VERSION=$("$MVN" help:evaluate -Dexpression=scala.binary.version $@ 2>/dev/null\ + | grep -v "INFO"\ + | tail -n 1) SPARK_HADOOP_VERSION=$("$MVN" help:evaluate -Dexpression=hadoop.version $@ 2>/dev/null\ | grep -v "INFO"\ | tail -n 1)