diff --git a/build.sh b/build.sh index f027140d5f7..06611500f12 100755 --- a/build.sh +++ b/build.sh @@ -12,7 +12,7 @@ OS= ARCH= WORD= GIT_PROTOCOL=${GIT_PROTOCOL:="https"} -GIT_URL=${GIT_URL:=$GIT_PROTOCOL"://github.com/factor/factor.git"} +GIT_URL=${GIT_URL:=$GIT_PROTOCOL"://github.com/theAlexes/factor.git"} test_program_installed() { command -v "$1" >/dev/null 2>&1 @@ -595,19 +595,9 @@ check_url() { # Otherwise, just use `master` set_boot_image_vars() { set_current_branch - local url="https://downloads.factorcode.org/images/${CURRENT_BRANCH}/checksums.txt" + local url="https://archive.org/download/factor-boot-image-0.100/checksums.txt" $ECHO "Getting checksum from ${url}" - - if check_url "$url"; then - $ECHO "got checksum!" - CHECKSUM_URL="$url" - BOOT_IMAGE_URL="https://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="https://downloads.factorcode.org/images/master/checksums.txt" - BOOT_IMAGE_URL="https://downloads.factorcode.org/images/master/${BOOT_IMAGE}" - fi + BOOT_IMAGE_URL="https://archive.org/download/factor-boot-image-0.100/${BOOT_IMAGE}" } set_current_branch() {