kirkwood: set default EA4500 switch config
[openwrt.git] / scripts / download.pl
index 9603e70..cd68a7b 100755 (executable)
@@ -40,6 +40,9 @@ sub localmirrors {
                close CONFIG;
        };
 
+       my $mirror = $ENV{'DOWNLOAD_MIRROR'};
+       $mirror and push @mlist, split(/;/, $mirror);
+
        return @mlist;
 }