summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2013-02-09 23:48:28 +0000
committerIan Lynagh <ian@well-typed.com>2013-02-09 23:48:28 +0000
commitae06df63bef37c688b135ae9df3dcc1998375042 (patch)
tree25942e7e2c114cdaf544a95bb3ce923ed07dd78f /sync-all
parentf52b4ad90f940bdb1e8719fbbc395450d2131a8a (diff)
downloadhaskell-ae06df63bef37c688b135ae9df3dcc1998375042.tar.gz
Improve sync-all's old-time-repo check
It now checks that the directory exists before complaining that it's old.
Diffstat (limited to 'sync-all')
-rwxr-xr-xsync-all2
1 files changed, 1 insertions, 1 deletions
diff --git a/sync-all b/sync-all
index 889f124b5a..b24a8327cf 100755
--- a/sync-all
+++ b/sync-all
@@ -882,7 +882,7 @@ EOF
}
message "== Checking for old time from tarball";
- if (! -e "libraries/time/.git") {
+ if (-d "libraries/time" and ! -e "libraries/time/.git") {
print <<EOF;
============================
ATTENTION!