Skip to content

Commit

Permalink
[build] [hotfix] Fix make-distribution.sh for Scala 2.11.
Browse files Browse the repository at this point in the history
Author: Marcelo Vanzin <[email protected]>

Closes apache#5002 from vanzin/mkdist-hotfix and squashes the following commits:

ced65f7 [Marcelo Vanzin] [build] [hotfix] Fix make-distribution.sh for Scala 2.11.
  • Loading branch information
Marcelo Vanzin authored and srowen committed Mar 12, 2015
1 parent 304366c commit 8f1bc79
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion make-distribution.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 8f1bc79

Please sign in to comment.