From a0c6f738f883c860f5aa91b337d2232fa780adf4 Mon Sep 17 00:00:00 2001 From: Simon Marlow Date: Mon, 10 Apr 2006 08:22:24 +0000 Subject: [PATCH] robustify the test for the top of the tree a little --- darcs-all | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/darcs-all b/darcs-all index aecf634..0dd9145 100644 --- a/darcs-all +++ b/darcs-all @@ -63,7 +63,7 @@ function darcsget() done } -if test ! -d _darcs; then +if test ! -d _darcs -o ! -d compiler; then echo "error: darcs-all must be run from the top level of the ghc tree." exit 1; fi -- 1.7.10.4