@@ -71,17 +71,22 @@ build_8x () {
7171 declare -r installer=$( installer_url " ${version} " " ${installer_path} " ) || exit " ${?} " ;
7272 build " racket" " ${installer} " " ${version} " " ${version} " ;
7373
74- declare -r bc_installer_path=" racket-minimal-${version} -x86_64-linux-bc.sh" ;
75- declare -r bc_installer=$( installer_url " ${version} " " ${bc_installer_path} " ) || exit " ${?} " ;
76- build " racket" " ${bc_installer} " " ${version} " " ${version} -bc" ;
77-
7874 declare -r full_installer_path=" racket-${version} -x86_64-linux-natipkg.sh" ;
7975 declare -r full_installer=$( installer_url " ${version} " " ${full_installer_path} " ) || exit " ${?} " ;
8076 build " racket" " ${full_installer} " " ${version} " " ${version} -full" ;
8177
82- declare -r full_bc_installer_path=" racket-${version} -x86_64-linux-bc.sh" ;
83- declare -r full_bc_installer=$( installer_url " ${version} " " ${full_bc_installer_path} " ) || exit " ${?} " ;
84- build " racket" " ${full_bc_installer} " " ${version} " " ${version} -bc-full" ;
78+ # Starting with 8.18, BC builds are no longer provided. The next
79+ # version is likely going to be 9.0, so we only need to check for
80+ # 8.18 as of this writing.
81+ if [ " $version " != " 8.18" ]; then
82+ declare -r bc_installer_path=" racket-minimal-${version} -x86_64-linux-bc.sh" ;
83+ declare -r bc_installer=$( installer_url " ${version} " " ${bc_installer_path} " ) || exit " ${?} " ;
84+ build " racket" " ${bc_installer} " " ${version} " " ${version} -bc" ;
85+
86+ declare -r full_bc_installer_path=" racket-${version} -x86_64-linux-bc.sh" ;
87+ declare -r full_bc_installer=$( installer_url " ${version} " " ${full_bc_installer_path} " ) || exit " ${?} " ;
88+ build " racket" " ${full_bc_installer} " " ${version} " " ${version} -bc-full" ;
89+ fi
8590};
8691
8792build_7x () {
0 commit comments