~ chicken-core (chicken-5) /scripts/bootstrap.sh
Trap1#!/bin/sh23set -e45# build 5.3.0 release67mkdir -p boot/snapshot8cd boot9wget -c https://code.call-cc.org/releases/5.3.0/chicken-5.3.0.tar.gz10tar -xzf chicken-5.3.0.tar.gz11cd chicken-5.3.012make "$@" PREFIX="$(pwd)"/../snapshot13make "$@" PREFIX="$(pwd)"/../snapshot install14cd ../..1516# build a boot-chicken from git head using the snapshot17# chicken and then use that to build the real thing1819make "$@" spotless20make "$@" CHICKEN="$(pwd)"/boot/snapshot/bin/chicken boot-chicken2122# remove snapshot installation and tarball23rm -fr boot/snapshot24rm -fr boot/chicken-5.3.025rm -f boot/chicken-5.3.0.tar.gz2627echo28echo 'Now, build chicken by passing "CHICKEN=./chicken-boot" to make,'29echo 'in addition to PREFIX, PLATFORM, and other parameters.'30echo