diff options
Diffstat (limited to 'resources/scripts/download')
| -rwxr-xr-x | resources/scripts/download/u-boot | 6 | 
1 files changed, 6 insertions, 0 deletions
| diff --git a/resources/scripts/download/u-boot b/resources/scripts/download/u-boot index ecd35adc..4e5a77c0 100755 --- a/resources/scripts/download/u-boot +++ b/resources/scripts/download/u-boot @@ -125,6 +125,12 @@ downloadfor() {  		    "${uboot_dir}" || \  		    rm -Rf "${uboot_dir}"  		if [ ! -d "${uboot_dir}" ]; then +			printf "WARNING: Upstream failed. Trying backup github repository:\n" +			git clone https://github.com/u-boot/u-boot.git \ +				"${uboot_dir}" || \ +				rm -Rf coreboot +		fi +		if [ ! -d "${uboot_dir}" ]; then  		    printf \  			"ERROR: %s: Problem with git-clone. Network issue?\n" \  			"download/u-boot" | 
