diff options
Diffstat (limited to 'devel/hs-cabal-install/files/patch-Main.hs')
-rw-r--r-- | devel/hs-cabal-install/files/patch-Main.hs | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/devel/hs-cabal-install/files/patch-Main.hs b/devel/hs-cabal-install/files/patch-Main.hs new file mode 100644 index 000000000000..fa1da85aaf3e --- /dev/null +++ b/devel/hs-cabal-install/files/patch-Main.hs @@ -0,0 +1,24 @@ +--- ./Main.hs.orig 2012-04-17 17:17:31.000000000 +0200 ++++ ./Main.hs 2012-11-23 20:47:29.000000000 +0100 +@@ -75,7 +75,7 @@ + ( Verbosity, normal, intToVerbosity, lessVerbose ) + import qualified Paths_cabal_install (version) + +-import System.Environment (getArgs, getProgName) ++import System.Environment (getArgs) + import System.Exit (exitFailure) + import System.FilePath (splitExtension, takeExtension) + import System.Directory (doesFileExist) +@@ -107,10 +107,10 @@ + + where + printCommandHelp help = do +- pname <- getProgName ++ let pname = "cabal" + putStr (help pname) + printGlobalHelp help = do +- pname <- getProgName ++ let pname = "cabal" + configFile <- defaultConfigFile + putStr (help pname) + putStr $ "\nYou can edit the cabal configuration file to set defaults:\n" |