Github user pwendell commented on a diff in the pull request:

    https://github.com/apache/spark/pull/3707#discussion_r22192578
  
    --- Diff: build/mvn ---
    @@ -0,0 +1,119 @@
    +#!/usr/bin/env bash
    +
    +# Determine the current working directory
    +_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
    +
    +# Installs any application tarball given a URL, the expected tarball name,
    +# and, optionally, a checkable binary path to determine if the binary has
    +# already been installed
    +## Arg1 - URL
    +## Arg2 - Tarball Name
    +## Arg3 - Checkable Binary
    +install_app() {
    +  local remote_tarball="$1/$2"
    +  local local_tarball="${_DIR}/$2"
    +  local binary="${_DIR}/$3"
    +  if [ -z "$3" -o ! -f "$binary" ]; then
    +    # check if we already have the tarball
    +    # check if we have curl installed
    +    # download application
    +    [ ! -f "${local_tarball}" ] && [ -n "`which curl 2>/dev/null`" ] && \
    +      echo "exec: curl -s ${remote_tarball}" && \
    --- End diff --
    
    Can this curl show a status bar similar to our sbt download script?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to