You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by sr...@apache.org on 2015/03/12 20:17:04 UTC
spark git commit: [build] [hotfix] Fix make-distribution.sh for Scala
2.11.
Repository: spark
Updated Branches:
refs/heads/master 304366c46 -> 8f1bc7989
[build] [hotfix] Fix make-distribution.sh for Scala 2.11.
Author: Marcelo Vanzin <va...@cloudera.com>
Closes #5002 from vanzin/mkdist-hotfix and squashes the following commits:
ced65f7 [Marcelo Vanzin] [build] [hotfix] Fix make-distribution.sh for Scala 2.11.
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/8f1bc798
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/8f1bc798
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/8f1bc798
Branch: refs/heads/master
Commit: 8f1bc7989b13c42aec7679b7c417175527b76419
Parents: 304366c
Author: Marcelo Vanzin <va...@cloudera.com>
Authored: Thu Mar 12 19:16:58 2015 +0000
Committer: Sean Owen <so...@cloudera.com>
Committed: Thu Mar 12 19:16:58 2015 +0000
----------------------------------------------------------------------
make-distribution.sh | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/8f1bc798/make-distribution.sh
----------------------------------------------------------------------
diff --git a/make-distribution.sh b/make-distribution.sh
index 82d3340..9ed1abf 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org