[commit: ghc] master: Add a check for old time packaes (4b4f014)

Ian Lynagh <[email protected]>
Newsgroups gmane.comp.lang.haskell.cvs.ghc
Message-ID <[email protected]>
Repository : ssh://darcs.haskell.org//srv/darcs/ghc

On branch  : master

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

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

commit 4b4f014b4fee106a4f575a1e335e1cf972edb14f
Author: Ian Lynagh <[email protected]>
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;
 }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.