~ chicken-core (chicken-5) 86e90dc779944b35499d758bbf664a3c4a59d108
commit 86e90dc779944b35499d758bbf664a3c4a59d108
Author: Evan Hanson <evhan@foldling.org>
AuthorDate: Thu Jan 4 08:27:13 2018 +1300
Commit: Evan Hanson <evhan@foldling.org>
CommitDate: Thu Jan 4 08:27:13 2018 +1300
Override user-provided PREFIX/CHICKEN args as necessary in bootstrap.sh
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 47eab58b..b781b72d 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -9,8 +9,8 @@ cd boot
wget http://code.call-cc.org/dev-snapshots/2017/12/14/chicken-5.0.0pre4.tar.gz
tar -xzf chicken-5.0.0pre4.tar.gz
cd chicken-5.0.0pre4
-make PREFIX="$(pwd)"/../pre4 "$@"
-make PREFIX="$(pwd)"/../pre4 "$@" install
+make "$@" PREFIX="$(pwd)"/../pre4
+make "$@" PREFIX="$(pwd)"/../pre4 install
cd ../..
# build a boot-chicken from git head using pre4 chicken and
@@ -21,7 +21,7 @@ cd ../..
# a boot-chicken needs to be built.
make "$@" spotless
-make CHICKEN="$(pwd)"/boot/pre4/bin/chicken "$@" boot-chicken
+make "$@" CHICKEN="$(pwd)"/boot/pre4/bin/chicken boot-chicken
# remove pre4 installation and tarball
rm -fr boot/pre4
Trap