From: Doug Coleman Date: Sat, 29 Aug 2020 23:22:05 +0000 (-0500) Subject: build.sh: Warn if boot image url is nonexistent when falling back to master. X-Git-Tag: 0.99~3106 X-Git-Url: https://gitweb.factorcode.org/gitweb.cgi?p=factor.git;a=commitdiff_plain;h=87cce0ba6aaf07df0c11e74c86bdb5754a15b76c build.sh: Warn if boot image url is nonexistent when falling back to master. --- diff --git a/build.sh b/build.sh index 4cda74badf..490c9ac02a 100755 --- a/build.sh +++ b/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