[commit: ghc] master: Use -e rather than -f when checking for libraries/time/.git (31d771b)
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/31d771bec93b17813b03e7a72a586e1f401ef240 >--------------------------------------------------------------- commit 31d771bec93b17813b03e7a72a586e1f401ef240 Author: Ian Lynagh <[email protected]> Date: Sun Dec 2 21:52:00 2012 +0000 Use -e rather than -f when checking for libraries/time/.git Apparently .git can be a file rather than a directory in some cases >--------------------------------------------------------------- sync-all | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/sync-all b/sync-all index 414aa8b..efb84a6 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!