+
+# Before doing anything else, make sure we have an SBCL to install
+if [ -f src/runtime/$RUNTIME ]; then
+ if [ -f output/sbcl.core ]; then
+ true
+ else
+ echo "output/sbcl.core not found, aborting installation."
+ exit 1
+ fi
+else
+ echo "src/runtime/$RUNTIME not found, aborting installation."
+ exit 1
+fi
+
+SBCL_HOME="$INSTALL_ROOT"/lib/sbcl