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