summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-07-29 20:10:32 +0000
committerIan Lynagh <igloo@earth.li>2008-07-29 20:10:32 +0000
commit334e082ac8b94353328ee45da8bcf5fad85a29eb (patch)
treefa1380f2621adb96509c6a3e9bad50c25adb56d7 /boot
parent0d2fd55fb1518d4ef715f36625dc1d788ad15c32 (diff)
downloadhaskell-334e082ac8b94353328ee45da8bcf5fad85a29eb.tar.gz
Update boot's test that we have all of the bootlibs
Diffstat (limited to 'boot')
-rw-r--r--boot4
1 files changed, 2 insertions, 2 deletions
diff --git a/boot b/boot
index d554b037bd..9c1fad7297 100644
--- a/boot
+++ b/boot
@@ -2,9 +2,9 @@
set -e
# Check that we have all boot packages.
-for dir in `cat libraries/boot-packages`
+for dir in `grep "^[^# ][^ ]* *[^ ][^ ]*$" packages | sed "s/ .*//"`
do
- if test ! -d libraries/$dir
+ if test ! -d $dir
then
echo "Looks like you're missing libraries/$dir." >&2
echo "Maybe you haven't done './darcs-all get'?" >&2