Repository: spark Updated Branches: refs/heads/branch-1.5 45c8d2bb8 -> f44b27a2b
[SPARK-9583] [BUILD] Do not print mvn debug messages to stdout. This allows build/mvn to be used by make-distribution.sh. Author: Marcelo Vanzin <[email protected]> Closes #7915 from vanzin/SPARK-9583 and squashes the following commits: 6469e60 [Marcelo Vanzin] [SPARK-9583] [build] Do not print mvn debug messages to stdout. (cherry picked from commit d702d53732b44e8242448ce5302738bd130717d8) Signed-off-by: Kousuke Saruta <[email protected]> Project: http://git-wip-us.apache.org/repos/asf/spark/repo Commit: http://git-wip-us.apache.org/repos/asf/spark/commit/f44b27a2 Tree: http://git-wip-us.apache.org/repos/asf/spark/tree/f44b27a2 Diff: http://git-wip-us.apache.org/repos/asf/spark/diff/f44b27a2 Branch: refs/heads/branch-1.5 Commit: f44b27a2b92da2325ed9389cd27b6e2cfd9ec486 Parents: 45c8d2b Author: Marcelo Vanzin <[email protected]> Authored: Tue Aug 4 22:19:11 2015 +0900 Committer: Kousuke Saruta <[email protected]> Committed: Tue Aug 4 22:19:31 2015 +0900 ---------------------------------------------------------------------- build/mvn | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/spark/blob/f44b27a2/build/mvn ---------------------------------------------------------------------- diff --git a/build/mvn b/build/mvn index f62f61e..4a1664b 100755 --- a/build/mvn +++ b/build/mvn @@ -51,11 +51,11 @@ install_app() { # check if we have curl installed # download application [ ! -f "${local_tarball}" ] && [ $(command -v curl) ] && \ - echo "exec: curl ${curl_opts} ${remote_tarball}" && \ + echo "exec: curl ${curl_opts} ${remote_tarball}" 1>&2 && \ curl ${curl_opts} "${remote_tarball}" > "${local_tarball}" # if the file still doesn't exist, lets try `wget` and cross our fingers [ ! -f "${local_tarball}" ] && [ $(command -v wget) ] && \ - echo "exec: wget ${wget_opts} ${remote_tarball}" && \ + echo "exec: wget ${wget_opts} ${remote_tarball}" 1>&2 && \ wget ${wget_opts} -O "${local_tarball}" "${remote_tarball}" # if both were unsuccessful, exit [ ! -f "${local_tarball}" ] && \ @@ -146,7 +146,7 @@ fi # Set any `mvn` options if not already present export MAVEN_OPTS=${MAVEN_OPTS:-"$_COMPILE_JVM_OPTS"} -echo "Using \`mvn\` from path: $MVN_BIN" +echo "Using \`mvn\` from path: $MVN_BIN" 1>&2 # Last, call the `mvn` command as usual ${MVN_BIN} "$@" --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
