summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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