From 70244ed4c508b288aa6e163c09b196cc3b8725ee Mon Sep 17 00:00:00 2001 From: Ian Lynagh Date: Fri, 23 Oct 2009 17:47:48 +0000 Subject: [PATCH] Explain why we check for LICENSE, not _darcs, in boot --- boot | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 1.7.10.4