build.sh: Fix boot image download to current branch.

master
Doug Coleman 2020-08-27 16:43:38 -05:00
parent 3eb6e55ae4
commit ec490587e7
1 changed files with 2 additions and 2 deletions

View File

@ -627,8 +627,8 @@ set_boot_image_vars() {
CHECKSUM_URL="$url"
BOOT_IMAGE_URL="http://downloads.factorcode.org/images/${CURRENT_BRANCH}/${BOOT_IMAGE}"
else
CHECKSUM_URL="http://downloads.factorcode.org/images/master/checksums.txt"
BOOT_IMAGE_URL="http://downloads.factorcode.org/images/master/${BOOT_IMAGE}"
CHECKSUM_URL="http://downloads.factorcode.org/images/${CURRENT_BRANCH}/checksums.txt"
BOOT_IMAGE_URL="http://downloads.factorcode.org/images/${CURRENT_BRANCH}/${BOOT_IMAGE}"
fi
}