summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2008-07-29 20:16:40 +0000
committerIan Lynagh <igloo@earth.li>2008-07-29 20:16:40 +0000
commitfd1896cbbc3985f908ca9a57aa0055790ce198f5 (patch)
tree18cf6e6be0a3318a04620c59d713f479caaa9317 /Makefile
parent334e082ac8b94353328ee45da8bcf5fad85a29eb (diff)
downloadhaskell-fd1896cbbc3985f908ca9a57aa0055790ce198f5.tar.gz
Update the test in Makefile that we have all the boot libs
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 290407af9d..edad014a9d 100644
--- a/Makefile
+++ b/Makefile
@@ -88,10 +88,10 @@ endif
# Sanity check that all the boot libraries are in the tree, to catch
# failure to run darcs-all.
check-packages :
- @ds=`cat libraries/boot-packages`;\
+ @ds=`grep "^[^# ][^ ]* *[^ ][^ ]*$$" packages | sed "s/ .*//"`;\
for d in $$ds; do \
- if test ! -d libraries/$$d; then \
- echo "Looks like you're missing libraries/$$d,"; \
+ if test ! -d $$d; then \
+ echo "Looks like you're missing $$d,"; \
echo "maybe you haven't done './darcs-all get'?"; \
exit 1; \
fi \