build.sh: Warn if boot image url is nonexistent when falling back to master.
parent
13b366e88b
commit
87cce0ba6a
2
build.sh
2
build.sh
|
@ -628,6 +628,8 @@ set_boot_image_vars() {
|
|||
CHECKSUM_URL="$url"
|
||||
BOOT_IMAGE_URL="http://downloads.factorcode.org/images/${CURRENT_BRANCH}/${BOOT_IMAGE}"
|
||||
else
|
||||
$ECHO "boot image for branch \`${CURRENT_BRANCH}\` is not on server, trying master instead"
|
||||
$ECHO " tried nonexistent url: ${url}"
|
||||
CHECKSUM_URL="http://downloads.factorcode.org/images/master/checksums.txt"
|
||||
BOOT_IMAGE_URL="http://downloads.factorcode.org/images/master/${BOOT_IMAGE}"
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue