~ chicken-core (chicken-5) 1707357f942d9292d47b3c3c16e85792aed2a1e8


commit 1707357f942d9292d47b3c3c16e85792aed2a1e8
Author:     Evan Hanson <evhan@foldling.org>
AuthorDate: Fri Jul 31 16:07:38 2020 +1200
Commit:     Mario Domenech Goulart <mario@parenteses.org>
CommitDate: Fri Jul 31 08:01:28 2020 +0200

    Avoid re-fetching bootstrapping tarball by using `wget --continue`
    
    This just avoids downloading multiple (useless) copies of the snapshot
    archive when there is already a local copy by telling wget to
    "--continue" i.e. reuse the existing archive.
    
    Signed-off-by: Mario Domenech Goulart <mario@parenteses.org>

diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index b465667d..e8ea0f30 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -6,7 +6,7 @@ set -e
 
 mkdir -p boot/snapshot
 cd boot
-wget https://code.call-cc.org/releases/5.2.0/chicken-5.2.0.tar.gz
+wget -c https://code.call-cc.org/releases/5.2.0/chicken-5.2.0.tar.gz
 tar -xzf chicken-5.2.0.tar.gz
 cd chicken-5.2.0
 make "$@" PREFIX="$(pwd)"/../snapshot
Trap