projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
We no longer need to specify the gcc and ld location when validating
[ghc-hetmet.git]
/
boot
diff --git
a/boot
b/boot
index
ba02e70
..
43d2db5
100644
(file)
--- a/
boot
+++ b/
boot
@@
-1,12
+1,15
@@
#! /bin/sh
set -e
#! /bin/sh
set -e
+# Create libraries/*/{ghc.mk,GNUmakefile}
+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
- if test ! -d $dir
+ if test ! -f $dir/LICENSE
then
then
- echo "Looks like you're missing libraries/$dir." >&2
+ echo "Error: $dir/LICENSE doesn't exist." >&2
echo "Maybe you haven't done './darcs-all get'?" >&2
exit 1
fi
echo "Maybe you haven't done './darcs-all get'?" >&2
exit 1
fi
@@
-25,6
+28,8
@@
done
# Alas, darcs doesn't handle file permissions, so fix a few of them.
for f in boot darcs-all push-all validate
do
# Alas, darcs doesn't handle file permissions, so fix a few of them.
for f in boot darcs-all push-all validate
do
- test -f $f && chmod +x $f
+ if test -f $f
+ then
+ chmod +x $f
+ fi
done
done
-