summaryrefslogtreecommitdiff
path: root/sync-all
diff options
context:
space:
mode:
authorIan Lynagh <ian@well-typed.com>2012-12-02 21:52:00 +0000
committerIan Lynagh <ian@well-typed.com>2012-12-02 21:52:00 +0000
commit31d771bec93b17813b03e7a72a586e1f401ef240 (patch)
treec43cf8139e29061902af41caf0d0506e8ec2e406 /sync-all
parentc3db2b2c449e21d0358f1ed4b7a5dd447477ac28 (diff)
downloadhaskell-31d771bec93b17813b03e7a72a586e1f401ef240.tar.gz
Use -e rather than -f when checking for libraries/time/.git
Apparently .git can be a file rather than a directory in some cases
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 414aa8bb5d..efb84a614d 100755
--- a/sync-all
+++ b/sync-all
@@ -869,7 +869,7 @@ EOF
}
message "== Checking for old time from tarball";
- if (! -d "libraries/time/.git") {
+ if (! -e "libraries/time/.git") {
print <<EOF;
============================
ATTENTION!