From: Ian Lynagh Date: Fri, 23 Oct 2009 17:47:48 +0000 (+0000) Subject: Explain why we check for LICENSE, not _darcs, in boot X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=70244ed4c508b288aa6e163c09b196cc3b8725ee;p=ghc-hetmet.git Explain why we check for LICENSE, not _darcs, in boot --- diff --git a/boot b/boot index 43d2db5..644c6d9 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