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

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/4b4f014b4fee106a4f575a1e335e1cf972edb14f

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

commit 4b4f014b4fee106a4f575a1e335e1cf972edb14f
Author: Ian Lynagh <i...@well-typed.com>
Date:   Sun Dec 2 17:45:44 2012 +0000

    Add a check for old time packaes

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

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

diff --git a/sync-all b/sync-all
index 4a8387d..9a2f753 100755
--- a/sync-all
+++ b/sync-all
@@ -859,6 +859,20 @@ EOF
         chdir($pwd);
     }
 
+    message "== Checking for old time from tarball";
+    if (! -d "libraries/time/.git") {
+            print <<EOF;
+============================
+ATTENTION!
+
+You have an old time package in your GHC tree!
+
+Please remove it (e.g. "rm -r libraries/time"), and then run
+"./sync-all get" to get the new repository.
+============================
+EOF
+    }
+
     $? = $ec;
 }
 



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

Reply via email to