aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmake-distribution.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/make-distribution.sh b/make-distribution.sh
index cb65932b4a..92177e19fe 100755
--- a/make-distribution.sh
+++ b/make-distribution.sh
@@ -26,6 +26,7 @@
set -o pipefail
set -e
+set -x
# Figure out where the Spark framework is installed
SPARK_HOME="$(cd "`dirname "$0"`"; pwd)"
@@ -126,7 +127,7 @@ if [ ! $(command -v "$MVN") ] ; then
exit -1;
fi
-VERSION=$("$MVN" help:evaluate -Dexpression=project.version 2>/dev/null | grep -v "INFO" | tail -n 1)
+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)