diff options
author | Felix Fietkau <nbd@openwrt.org> | 2005-04-06 17:13:52 +0000 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2005-04-06 17:13:52 +0000 |
commit | be200591e796235fe495364f4b4cbd8d887e983f (patch) | |
tree | 4f9d5b8ec06115acc5e546768d03d4cbcb8bcbd1 /openwrt/scripts/download.pl | |
parent | bf2b909e0fed6aa0ac07158b1ebf1cf76a6bc323 (diff) | |
download | mtk-20170518-be200591e796235fe495364f4b4cbd8d887e983f.zip mtk-20170518-be200591e796235fe495364f4b4cbd8d887e983f.tar.gz mtk-20170518-be200591e796235fe495364f4b4cbd8d887e983f.tar.bz2 |
change wget timeout options to --timeout= for compatibility
SVN-Revision: 571
Diffstat (limited to 'openwrt/scripts/download.pl')
-rwxr-xr-x | openwrt/scripts/download.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/openwrt/scripts/download.pl b/openwrt/scripts/download.pl index cbe1934..edd32d5 100755 --- a/openwrt/scripts/download.pl +++ b/openwrt/scripts/download.pl @@ -15,7 +15,7 @@ sub download { my $mirror = shift; - open WGET, "wget -t1 --connect-timeout=20 --read-timeout=15 -O- \"$mirror/$filename\" |" or die "Cannot launch wget.\n"; + open WGET, "wget -t1 --timeout=20 -O- \"$mirror/$filename\" |" or die "Cannot launch wget.\n"; open MD5SUM, "| md5sum > \"$target/$filename.md5sum\"" or die "Cannot launch md5sum.\n"; open OUTPUT, "> $target/$filename.dl" or die "Cannot create file $target/$filename.dl: $!\n"; my $buffer; |