FIX BUILD with ghc-6.2.x
[ghc-hetmet.git] / boot
diff --git a/boot b/boot
index 014efff..11e1785 100644 (file)
--- a/boot
+++ b/boot
@@ -2,10 +2,17 @@
 
 set -e
 
-chmod +x rts/gmp/configure
-chmod +x darcs-all
+for d in `cat libraries/core-packages`
+do
+    if test ! -d libraries/$d
+    then
+        echo "Looks like you're missing libraries/$d,"
+        echo "maybe you haven't done './darcs-all get'?"
+        exit 1
+    fi
+done
 
-./darcs-all ${1+"$@"} get
+chmod +x rts/gmp/configure
 
 autoreconf