[commit: packages/Cabal] ghc-head: Eliminate a warning in Distribution.Client.Get (0e8d898)

git at git.haskell.org git at git.haskell.org
Fri Sep 13 17:55:19 CEST 2013


Repository : ssh://git@git.haskell.org/Cabal

On branch  : ghc-head
Link       : http://git.haskell.org/?p=packages/Cabal.git;a=commit;h=0e8d8983449962dbeae29e97511344efe82b7384

>---------------------------------------------------------------

commit 0e8d8983449962dbeae29e97511344efe82b7384
Author: Reid Barton <rwbarton at gmail.com>
Date:   Sun Sep 8 18:23:33 2013 -0400

    Eliminate a warning in Distribution.Client.Get
    
    System.Cmd has simply reexported rawSystem from System.Process
    since at least process-1.0.1.1, the minimum version we allow,
    and has been deprecated just as long :)


>---------------------------------------------------------------

0e8d8983449962dbeae29e97511344efe82b7384
 cabal-install/Distribution/Client/Get.hs |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/cabal-install/Distribution/Client/Get.hs b/cabal-install/Distribution/Client/Get.hs
index 35c0b82..657fead 100644
--- a/cabal-install/Distribution/Client/Get.hs
+++ b/cabal-install/Distribution/Client/Get.hs
@@ -51,8 +51,6 @@ import Data.Monoid
          ( mempty )
 import Data.Ord
          ( comparing )
-import System.Cmd
-         ( rawSystem )
 import System.Directory
          ( createDirectoryIfMissing, doesDirectoryExist, doesFileExist
          , getCurrentDirectory, setCurrentDirectory
@@ -62,7 +60,7 @@ import System.Exit
 import System.FilePath
          ( (</>), (<.>), addTrailingPathSeparator )
 import System.Process
-         ( readProcessWithExitCode )
+         ( rawSystem, readProcessWithExitCode )
 
 
 -- | Entry point for the 'cabal get' command.




More information about the ghc-commits mailing list