]> gitweb.factorcode.org Git - factor.git/commitdiff
build.sh: Warn if boot image url is nonexistent when falling back to master.
authorDoug Coleman <doug.coleman@gmail.com>
Sat, 29 Aug 2020 23:22:05 +0000 (18:22 -0500)
committerDoug Coleman <doug.coleman@gmail.com>
Sat, 29 Aug 2020 23:22:38 +0000 (18:22 -0500)
build.sh

index 4cda74badf6ea986bb94bc661a32ad9fd84580d7..490c9ac02a03c7167ad65e763fab541b674302e3 100755 (executable)
--- 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