Check we have all the corelibs when we boot
authorIan Lynagh <igloo@earth.li>
Wed, 18 Apr 2007 12:45:36 +0000 (12:45 +0000)
committerIan Lynagh <igloo@earth.li>
Wed, 18 Apr 2007 12:45:36 +0000 (12:45 +0000)
boot

diff --git a/boot b/boot
index aa90626..d983d2f 100644 (file)
--- a/boot
+++ b/boot
@@ -2,6 +2,16 @@
 
 set -e
 
+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 'sh darcs-all get'?"
+        exit 1
+    fi
+done
+
 autoreconf
 
 for lib in libraries/*; do