You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@spark.apache.org by pw...@apache.org on 2015/05/02 01:59:31 UTC
spark git commit: [SPARK-7304] [BUILD] Include $@ in call to mvn
consistently in make-distribution.sh
Repository: spark
Updated Branches:
refs/heads/master 41c6a44b1 -> e6fb37712
[SPARK-7304] [BUILD] Include $@ in call to mvn consistently in make-distribution.sh
Adding the $ allows the caller of this script to supply additional arguments to the mvn command and is consistent with how mvn is being invoked elsewhere in the scripts
Author: Rajendra Gokhale (rvgcentos) <rv...@cloudera.com>
Closes #5846 from palamau/master and squashes the following commits:
e5f2adb [Rajendra Gokhale (rvgcentos)] Add $@ in call to mvn consistently in make-distribution.sh
Project: http://git-wip-us.apache.org/repos/asf/spark/repo
Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/e6fb3771
Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/e6fb3771
Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/e6fb3771
Branch: refs/heads/master
Commit: e6fb37712eb1762d8184edc897bf2d468db8d254
Parents: 41c6a44
Author: Rajendra Gokhale (rvgcentos) <rv...@cloudera.com>
Authored: Fri May 1 17:01:36 2015 -0700
Committer: Patrick Wendell <pa...@databricks.com>
Committed: Fri May 1 17:01:36 2015 -0700
----------------------------------------------------------------------
make-distribution.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/spark/blob/e6fb3771/make-distribution.sh
----------------------------------------------------------------------
diff --git a/make-distribution.sh b/make-distribution.sh
index cb65932..92177e1 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)
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@spark.apache.org
For additional commands, e-mail: commits-help@spark.apache.org