summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-12-02 17:45:44 +0000
committerIan Lynagh <ian@well-typed.com>2012-12-02 17:52:56 +0000
commit4b4f014b4fee106a4f575a1e335e1cf972edb14f (patch)
treee4a8b73ba4867dcd9c8b633e82eca1df6383fffb /sync-all
parentccce9fe6d3f5508412d3229151763355c440d27d (diff)
downloadhaskell-4b4f014b4fee106a4f575a1e335e1cf972edb14f.tar.gz
Add a check for old time packaes
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all14
1 files changed, 14 insertions, 0 deletions
diff --git a/sync-all b/sync-all
index 4a8387d8cb..9a2f753ae6 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;
}