summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2009-10-23 17:47:48 +0000
committerIan Lynagh <igloo@earth.li>2009-10-23 17:47:48 +0000
commit70244ed4c508b288aa6e163c09b196cc3b8725ee (patch)
treebf66f1d99810cec458d8ce638c9f310045009670 /boot
parente51cdf9b6e54fb4052e46b6d7afb15e062928467 (diff)
downloadhaskell-70244ed4c508b288aa6e163c09b196cc3b8725ee.tar.gz
Explain why we check for LICENSE, not _darcs, in boot
Diffstat (limited to 'boot')
-rw-r--r--boot4
1 files changed, 4 insertions, 0 deletions
diff --git a/boot b/boot
index 43d2db5c0f..644c6d9ea2 100644
--- a/boot
+++ b/boot
@@ -7,6 +7,10 @@ sh boot-pkgs
# Check that we have all boot packages.
for dir in `grep "^[^# ][^ ]* *[^ ][^ ]* *[^ ][^ ]*$" packages | sed "s/ .*//"`
do
+ # We would like to just check for an _darcs directory here, but in
+ # an lndir tree we avoid making _darcs directories, so it doesn't
+ # exist. We therefore require that every repo has a LICENSE file
+ # instead.
if test ! -f $dir/LICENSE
then
echo "Error: $dir/LICENSE doesn't exist." >&2