X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=blobdiff_plain;f=boot;h=6b04fcc0c4358007934bc92e4cc7dc3e1785dcf0;hp=43d2db5c0f1be859cca7706f8bd3d3c7e1c11f2d;hb=0a5613f40b0e32cf59966e6b56b807cdbe80aa7b;hpb=e27c3aa29483ba9be97ba8d967c7ea16de327247 diff --git a/boot b/boot index 43d2db5..6b04fcc 100644 --- a/boot +++ b/boot @@ -2,11 +2,15 @@ set -e # Create libraries/*/{ghc.mk,GNUmakefile} -sh boot-pkgs +bash 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