Skip to content

Commit ced65f7

Browse files
author
Marcelo Vanzin
committed
[build] [hotfix] Fix make-distribution.sh for Scala 2.11.
1 parent 51a79a7 commit ced65f7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

make-distribution.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,9 @@ if [ ! $(command -v "$MVN") ] ; then
127127
fi
128128

129129
VERSION=$("$MVN" help:evaluate -Dexpression=project.version 2>/dev/null | grep -v "INFO" | tail -n 1)
130-
SCALA_VERSION=$("$MVN" help:evaluate -Dexpression=scala.binary.version 2>/dev/null | grep -v "INFO" | tail -n 1)
130+
SCALA_VERSION=$("$MVN" help:evaluate -Dexpression=scala.binary.version $@ 2>/dev/null\
131+
| grep -v "INFO"\
132+
| tail -n 1)
131133
SPARK_HADOOP_VERSION=$("$MVN" help:evaluate -Dexpression=hadoop.version $@ 2>/dev/null\
132134
| grep -v "INFO"\
133135
| tail -n 1)

0 commit comments

Comments
 (0)