projects
/
ghc-hetmet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
e51cdf9
)
Explain why we check for LICENSE, not _darcs, in boot
author
Ian Lynagh
<igloo@earth.li>
Fri, 23 Oct 2009 17:47:48 +0000
(17:47 +0000)
committer
Ian Lynagh
<igloo@earth.li>
Fri, 23 Oct 2009 17:47:48 +0000
(17:47 +0000)
boot
patch
|
blob
|
history
diff --git
a/boot
b/boot
index
43d2db5
..
644c6d9
100644
(file)
--- 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
# 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
if test ! -f $dir/LICENSE
then
echo "Error: $dir/LICENSE doesn't exist." >&2