diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-02-09 23:48:28 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-02-09 23:48:28 +0000 |
commit | ae06df63bef37c688b135ae9df3dcc1998375042 (patch) | |
tree | 25942e7e2c114cdaf544a95bb3ce923ed07dd78f /sync-all | |
parent | f52b4ad90f940bdb1e8719fbbc395450d2131a8a (diff) | |
download | haskell-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-x | sync-all | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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! |