projects
/
openwrt
/
staging
/
wigyori.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5472898
)
scripts/download.pl: add support for adding mirrors through an environment variable
author
Felix Fietkau
<nbd@openwrt.org>
Fri, 12 Dec 2014 12:35:23 +0000
(12:35 +0000)
committer
Felix Fietkau
<nbd@openwrt.org>
Fri, 12 Dec 2014 12:35:23 +0000
(12:35 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
SVN-Revision: 43654
scripts/download.pl
patch
|
blob
|
history
diff --git
a/scripts/download.pl
b/scripts/download.pl
index 9603e708d12c89b83cc8d3ced3037a4a0dd78e91..cd68a7bcd0cf4ade9caf82cf305e43ed155539d5 100755
(executable)
--- a/
scripts/download.pl
+++ b/
scripts/download.pl
@@
-40,6
+40,9
@@
sub localmirrors {
close CONFIG;
};
+ my $mirror = $ENV{'DOWNLOAD_MIRROR'};
+ $mirror and push @mlist, split(/;/, $mirror);
+
return @mlist;
}