diff options
author | Joey Hess <joey@kitenet.net> | 2011-01-07 02:15:23 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-01-07 02:15:23 -0400 |
commit | f189929b8b46016a254a6a938f9aba01184fb6c6 (patch) | |
tree | a38a3b8744c23adf5b3a9a1a3061b4f3d5dd49c6 /git-annex.hs | |
parent | 55ca64d8510fc3acd34452844086fbcb4bca122c (diff) |
workaround ghc weirdness with -odir
The option cause it to always build to build/Main.o, no matter what
binary it was building. This caused extra work, and in some cases,
could cause the wrong code to be put into the final binary.
Diffstat (limited to 'git-annex.hs')
-rw-r--r-- | git-annex.hs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/git-annex.hs b/git-annex.hs index f95181784..878d8bdbb 100644 --- a/git-annex.hs +++ b/git-annex.hs @@ -1,4 +1,4 @@ -{- git-annex main program +{- git-annex main program stub - - Copyright 2010 Joey Hess <joey@kitenet.net> - @@ -7,12 +7,8 @@ import System.Environment -import qualified GitRepo as Git -import CmdLine import GitAnnex - main :: IO () main = do args <- getArgs - gitrepo <- Git.repoFromCwd - dispatch gitrepo args cmds options header + run args |