~ chicken-core (chicken-5) a4938c3f0052ab579dbe877d12cad19e713aa454
commit a4938c3f0052ab579dbe877d12cad19e713aa454
Author: felix <felix@call-with-current-continuation.org>
AuthorDate: Sun Jul 19 19:41:45 2026 +0200
Commit: felix <felix@call-with-current-continuation.org>
CommitDate: Sun Jul 19 19:41:45 2026 +0200
unset CDPATH in bootstrap script (original patch by mario, hand-applied due to conflicts)
diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh
index 2c77ddab..64cee524 100755
--- a/scripts/bootstrap.sh
+++ b/scripts/bootstrap.sh
@@ -2,6 +2,13 @@
set -e
+# When cd is given as argument a directory that cannot be found in the
+# paths yielded by CDPATH on OpenBSD's ksh (same binary as sh), it
+# fails with
+# `sh: cd: <the dir>: bad directory'
+# So, we unset CDPATH to avoid such problems.
+unset CDPATH
+
# build 5.3.0 release
mkdir -p boot/snapshot
Trap