Fix get_available_firmware_downloads

This commit is contained in:
Jan Schneider 2017-09-04 22:53:49 +02:00
parent 6c0edcbf8e
commit 183215b6d4
1 changed files with 4 additions and 1 deletions

View File

@ -417,7 +417,10 @@ proc ::rmupdate::get_available_firmware_downloads {} {
}
}
#write_log $href
lappend download_urls "https://github.com${href}.zip"
if {[string first "https://" $href] == -1} {
set href "https://github.com${href}"
}
lappend download_urls "${href}.zip"
}
}
return $download_urls