summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbiao716.wang <biao716.wang@samsung.com>2023-09-15 20:37:09 +0900
committerbiao716.wang <biao716.wang@samsung.com>2023-09-15 20:37:09 +0900
commit521440975a4d45281de5498574751fd2dddf3d78 (patch)
treee5328fb1b41fa787bd53cf32a9687e8e8401595d
parent7196b65d86c0cf921f7830e7131df5fd3a6def20 (diff)
downloadbuild-521440975a4d45281de5498574751fd2dddf3d78.tar.gz
build-521440975a4d45281de5498574751fd2dddf3d78.tar.bz2
build-521440975a4d45281de5498574751fd2dddf3d78.zip
download: enable proxy support for HTTPS.
Change-Id: I448b1cc2f51b9b038130b6a4d1a56fe47880099b Signed-off-by: biao716.wang <biao716.wang@samsung.com>
-rwxr-xr-xdownload2
1 files changed, 1 insertions, 1 deletions
diff --git a/download b/download
index 6b374d3..5442727 100755
--- a/download
+++ b/download
@@ -88,7 +88,7 @@ for my $url (@ARGV) {
$url = URI->new($url);
}
}
- $ua->env_proxy if $url->scheme ne 'https';
+ $ua->env_proxy;
my $dest = "$dir/".basename($url->path).".tmp";
unlink($dest); # just in case
my $retry = 3;