This is an automated email from the ASF dual-hosted git repository.

dongjoon pushed a commit to branch branch-3.1
in repository https://gitbox.apache.org/repos/asf/spark.git


The following commit(s) were added to refs/heads/branch-3.1 by this push:
     new 50edf12  [SPARK-35373][BUILD][FOLLOWUP][3.1] Update zinc installation
50edf12 is described below

commit 50edf1246809ffe2b142cab4a9dc4e4e72df3fe7
Author: Dongjoon Hyun <dh...@apple.com>
AuthorDate: Wed May 19 09:51:58 2021 -0700

    [SPARK-35373][BUILD][FOLLOWUP][3.1] Update zinc installation
    
    ### What changes were proposed in this pull request?
    
    This PR is a follow-up of https://github.com/apache/spark/pull/32505 to fix 
`zinc` installation.
    
    ### Why are the changes needed?
    
    Currently, branch-3.1/3.0 is broken.
    
    ### Does this PR introduce _any_ user-facing change?
    
    No.
    
    ### How was this patch tested?
    
    Pass the GitHub Action.
    
    Closes #32591 from dongjoon-hyun/SPARK-35373.
    
    Authored-by: Dongjoon Hyun <dh...@apple.com>
    Signed-off-by: Dongjoon Hyun <dh...@apple.com>
---
 build/mvn | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/build/mvn b/build/mvn
index 4e3a8fa..e62abf3 100755
--- a/build/mvn
+++ b/build/mvn
@@ -142,7 +142,10 @@ install_zinc() {
     local TYPESAFE_MIRROR=${TYPESAFE_MIRROR:-https://downloads.lightbend.com}
 
     install_app \
-      "${TYPESAFE_MIRROR}/zinc/${ZINC_VERSION}/zinc-${ZINC_VERSION}.tgz" \
+      "${TYPESAFE_MIRROR}" \
+      "zinc/${ZINC_VERSION}/zinc-${ZINC_VERSION}.tgz" \
+      "" \
+      "" \
       "zinc-${ZINC_VERSION}.tgz" \
       "${zinc_path}"
     ZINC_BIN="${_DIR}/${zinc_path}"

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@spark.apache.org
For additional commands, e-mail: commits-h...@spark.apache.org

Reply via email to