From 96f8c6167b079350dd28da4c636fbff89cdfb3f8 Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Mon, 27 Sep 2010 20:29:09 -0700 Subject: [PATCH] New boot image location: http://downloads.factorcode.org/images/ --- basis/bootstrap/image/download/download.factor | 2 +- basis/bootstrap/image/upload/upload.factor | 2 +- build-support/factor.cmd | 2 +- build-support/factor.sh | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/basis/bootstrap/image/download/download.factor b/basis/bootstrap/image/download/download.factor index eeaccd9347..15a0e679c5 100644 --- a/basis/bootstrap/image/download/download.factor +++ b/basis/bootstrap/image/download/download.factor @@ -4,7 +4,7 @@ USING: http.client checksums checksums.md5 splitting assocs kernel io.files bootstrap.image sequences io urls ; IN: bootstrap.image.download -CONSTANT: url URL" http://factorcode.org/images/latest/" +CONSTANT: url URL" http://downloads.factorcode.org/images/latest/" : download-checksums ( -- alist ) url "checksums.txt" >url derive-url http-get nip diff --git a/basis/bootstrap/image/upload/upload.factor b/basis/bootstrap/image/upload/upload.factor index 7f25ce9c01..29f84c8151 100644 --- a/basis/bootstrap/image/upload/upload.factor +++ b/basis/bootstrap/image/upload/upload.factor @@ -10,7 +10,7 @@ SYMBOL: upload-images-destination : destination ( -- dest ) upload-images-destination get - "slava@factorcode.org:/var/www/factorcode.org/newsite/images/latest/" + "slava_pestov@downloads.factorcode.org:downloads.factorcode.org/images/latest/" or ; : checksums ( -- temp ) "checksums.txt" temp-file ; diff --git a/build-support/factor.cmd b/build-support/factor.cmd index 57a41f24eb..4a3d48654c 100644 --- a/build-support/factor.cmd +++ b/build-support/factor.cmd @@ -46,7 +46,7 @@ nmake /nologo /f Nmakefile %_target% if errorlevel 1 goto fail echo Fetching %_bootimage_version% boot image... -cscript /nologo build-support\http-get.vbs http://factorcode.org/images/%_bootimage_path%/%_bootimage% %_bootimage% +cscript /nologo build-support\http-get.vbs http://downloads.factorcode.org/images/%_bootimage_path%/%_bootimage% %_bootimage% if errorlevel 1 goto fail echo Bootstrapping... diff --git a/build-support/factor.sh b/build-support/factor.sh index 9da4ae295a..08af7a5c39 100755 --- a/build-support/factor.sh +++ b/build-support/factor.sh @@ -447,7 +447,7 @@ update_boot_images() { $DELETE $BOOT_IMAGE.{?,??} > /dev/null 2>&1 $DELETE temp/staging.*.image > /dev/null 2>&1 if [[ -f $BOOT_IMAGE ]] ; then - get_url http://factorcode.org/images/latest/checksums.txt + get_url http://downloads.factorcode.org/images/latest/checksums.txt factorcode_md5=`cat checksums.txt|grep $BOOT_IMAGE|cut -f2 -d' '`; set_md5sum case $OS in @@ -469,7 +469,7 @@ update_boot_images() { get_boot_image() { $ECHO "Downloading boot image $BOOT_IMAGE." - get_url http://factorcode.org/images/latest/$BOOT_IMAGE + get_url http://downloads.factorcode.org/images/latest/$BOOT_IMAGE } get_url() {