projects
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9331609
)
scripts/download.pl: add support for adding mirrors through an environment variable
author
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 12 Dec 2014 12:35:23 +0000
(12:35 +0000)
committer
nbd
<nbd@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Fri, 12 Dec 2014 12:35:23 +0000
(12:35 +0000)
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@43654
3c298f89
-4303-0410-b956-
a3cf2f4a3e73
scripts/download.pl
patch
|
blob
|
history
diff --git
a/scripts/download.pl
b/scripts/download.pl
index
9603e70
..
cd68a7b
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;
}