scripts/download.pl: add support for adding mirrors through an environment variable
Signed-off-by: Felix Fietkau <nbd@openwrt.org> SVN-Revision: 43654
This commit is contained in:
		| @@ -40,6 +40,9 @@ sub localmirrors { | |||||||
| 		close CONFIG; | 		close CONFIG; | ||||||
| 	}; | 	}; | ||||||
|  |  | ||||||
|  | 	my $mirror = $ENV{'DOWNLOAD_MIRROR'}; | ||||||
|  | 	$mirror and push @mlist, split(/;/, $mirror); | ||||||
|  |  | ||||||
| 	return @mlist; | 	return @mlist; | ||||||
| } | } | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Felix Fietkau
					Felix Fietkau