diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-12 17:43:54 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-12 17:43:54 -0400 |
commit | 0561ea1b2873962199aca5ba6529254aa5b2632b (patch) | |
tree | 6372b56eec1a02cec77ad20130c3550854721bba /GitRepo.hs | |
parent | a36c39ad0af168259948a360087d2ff05df2857e (diff) |
oops, wrong system
Diffstat (limited to 'GitRepo.hs')
-rw-r--r-- | GitRepo.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/GitRepo.hs b/GitRepo.hs index 9a919128e..068b2569c 100644 --- a/GitRepo.hs +++ b/GitRepo.hs @@ -26,10 +26,10 @@ import System import System.Directory import System.Posix.Directory import System.Path +import System.Cmd import System.Cmd.Utils import System.IO import IO (bracket_) -import System.Posix.Process import Data.String.Utils import Data.Map as Map hiding (map, split) import Network.URI @@ -145,7 +145,7 @@ gitCommandLine repo params = assertlocal repo $ {- Runs git in the specified repo. -} gitRun :: GitRepo -> [String] -> IO () gitRun repo params = assertlocal repo $ do - r <- executeFile "git" True (gitCommandLine repo params) Nothing + r <- rawSystem "git" (gitCommandLine repo params) return () {- Runs a git subcommand and returns its output. -} |