diff options
-rwxr-xr-x | make-distribution.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/make-distribution.sh b/make-distribution.sh index 82d33408cd..9ed1abfe8c 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) |