[commit: Cabal] master: Fix bug in passing the verbosity value when re-executing cabal (8c63bd1)
Paolo Capriotti
p.capriotti at gmail.com
Tue May 8 00:15:14 CEST 2012
Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal
On branch : master
http://hackage.haskell.org/trac/ghc/changeset/8c63bd1a1e9b246978ba53a6043d72bf7c95f35c
>---------------------------------------------------------------
commit 8c63bd1a1e9b246978ba53a6043d72bf7c95f35c
Author: Andrea Vezzosi <sanzhiyan at gmail.com>
Date: Mon Jun 2 05:25:36 2008 +0000
Fix bug in passing the verbosity value when re-executing cabal
It was passing the value as another argument, distinct from the flag.
>---------------------------------------------------------------
cabal-install/Hackage/Install.hs | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/cabal-install/Hackage/Install.hs b/cabal-install/Hackage/Install.hs
index 6731b97..1ec8f52 100644
--- a/cabal-install/Hackage/Install.hs
+++ b/cabal-install/Hackage/Install.hs
@@ -340,7 +340,7 @@ installUnpackedPackage verbosity scriptOptions miscOptions configFlags pkg mpath
then inDir mpath $
rawSystemExit verbosity cmd
[self, "install", "--only"
- ,"--verbose=", showForCabal verbosity]
+ ,"--verbose=" ++ showForCabal verbosity]
else die $ "Unable to find cabal executable at: " ++ self
-- helper
More information about the Cvs-libraries
mailing list