summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSimon Marlow <simonmar@microsoft.com>2007-10-22 13:33:37 +0000
committerSimon Marlow <simonmar@microsoft.com>2007-10-22 13:33:37 +0000
commited99161b28b2eea66f4b1b033ee57cfd2be127db (patch)
tree31452483715084c9c3d61663b63bf3208b15a0e5 /Makefile
parent2fc88e736892981b8b2b46661ac11f14dc351bc8 (diff)
downloadhaskell-ed99161b28b2eea66f4b1b033ee57cfd2be127db.tar.gz
patch from #1782; fixes check-packages target on Solaris
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 492cc77a03..a788dac466 100644
--- a/Makefile
+++ b/Makefile
@@ -69,14 +69,15 @@ SUBDIRS = gmp includes compat utils driver docs rts libraries compiler
# Sanity check that all the boot libraries are in the tree, to catch
# failure to run darcs-all.
check-packages :
- @for d in `cat libraries/boot-packages`; do \
+ @ds=`cat libraries/boot-packages`;\
+ for d in $$ds; do \
if test ! -d libraries/$$d; then \
echo "Looks like you're missing libraries/$$d,"; \
echo "maybe you haven't done './darcs-all get'?"; \
exit 1; \
fi \
done
- @if test ! -e libraries/base/configure; then \
+ @if test ! -f libraries/base/configure; then \
echo "Looks like you're missing base's configure script."; \
echo "Did you run 'sh boot' at the top level?"; \
exit 1; \