summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2007-04-30 11:35:19 +0000
committerIan Lynagh <igloo@earth.li>2007-04-30 11:35:19 +0000
commit9bf5168492d49ea9b73e33f914422875cca74a92 (patch)
treeb6cbdf6839112825df49c17436a1b052f3cf0738 /boot
parent3c506a6cb7a260a93f0ac272a6a3612c5586a5e1 (diff)
downloadhaskell-9bf5168492d49ea9b73e33f914422875cca74a92.tar.gz
Make boot handle getting the libraries
Diffstat (limited to 'boot')
-rw-r--r--boot13
1 files changed, 10 insertions, 3 deletions
diff --git a/boot b/boot
index 014efff4db..11e1785adc 100644
--- 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