Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/31d771bec93b17813b03e7a72a586e1f401ef240

>---------------------------------------------------------------

commit 31d771bec93b17813b03e7a72a586e1f401ef240
Author: Ian Lynagh <i...@well-typed.com>
Date:   Sun Dec 2 21:52:00 2012 +0000

    Use -e rather than -f when checking for libraries/time/.git
    
    Apparently .git can be a file rather than a directory in some cases

>---------------------------------------------------------------

 sync-all |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sync-all b/sync-all
index 414aa8b..efb84a6 100755
--- a/sync-all
+++ b/sync-all
@@ -869,7 +869,7 @@ EOF
     }
 
     message "== Checking for old time from tarball";
-    if (! -d "libraries/time/.git") {
+    if (! -e "libraries/time/.git") {
             print <<EOF;
 ============================
 ATTENTION!



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to