diff options
author | GuoQiang Li <witgo@qq.com> | 2015-02-05 12:03:13 -0800 |
---|---|---|
committer | Patrick Wendell <patrick@databricks.com> | 2015-02-05 12:03:13 -0800 |
commit | 34147549a7ad188e5eae8d818d36ca0fe882c16f (patch) | |
tree | 6440ae2a19d1115dcc02d368b20cdc6bf64b5733 /build | |
parent | 4d74f0601a2465b0d2273a8bcc716b304584831f (diff) | |
download | spark-34147549a7ad188e5eae8d818d36ca0fe882c16f.tar.gz spark-34147549a7ad188e5eae8d818d36ca0fe882c16f.tar.bz2 spark-34147549a7ad188e5eae8d818d36ca0fe882c16f.zip |
[SPARK-5474][Build]curl should support URL redirection in build/mvn
Author: GuoQiang Li <witgo@qq.com>
Closes #4263 from witgo/SPARK-5474 and squashes the following commits:
ef397ff [GuoQiang Li] review commits
a398324 [GuoQiang Li] curl should support URL redirection in build/mvn
Diffstat (limited to 'build')
-rwxr-xr-x | build/mvn | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -34,14 +34,14 @@ install_app() { local binary="${_DIR}/$3" # setup `curl` and `wget` silent options if we're running on Jenkins - local curl_opts="" + local curl_opts="-L" local wget_opts="" if [ -n "$AMPLAB_JENKINS" ]; then - curl_opts="-s" - wget_opts="--quiet" + curl_opts="-s ${curl_opts}" + wget_opts="--quiet ${wget_opts}" else - curl_opts="--progress-bar" - wget_opts="--progress=bar:force" + curl_opts="--progress-bar ${curl_opts}" + wget_opts="--progress=bar:force ${wget_opts}" fi if [ -z "$3" -o ! -f "$binary" ]; then |