Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
Packages
Cabal
Commits
4ba199e0
Commit
4ba199e0
authored
Oct 13, 2007
by
bjorn@bringert.net
Browse files
More verbosity fixes.
parent
33ea60e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
cabal-install/Hackage/Install.hs
View file @
4ba199e0
...
...
@@ -135,7 +135,7 @@ installPkg cfg comp globalArgs (pkg,opts)
path
=
tmpDirPath
</>
showPackageId
p
bracket_
(
createDirectoryIfMissing
True
tmpDirPath
)
(
removeDirectoryRecursive
tmpDirPath
)
(
do
message
cfg
deafening
(
printf
"Extracting %s..."
pkgPath
)
(
do
message
cfg
verbose
(
printf
"Extracting
%s to
%s..."
pkgPath
tmpDirPath
)
extractTarGzFile
(
Just
tmpDirPath
)
pkgPath
let
descFilePath
=
tmpDirPath
</>
showPackageId
p
</>
pkgName
p
<.>
"cabal"
e
<-
doesFileExist
descFilePath
...
...
@@ -156,6 +156,6 @@ installUnpackedPkg cfg comp globalArgs pkgId opts mpath
where
setup
cmd
=
do
let
cmdOps
=
mkPkgOps
cfg
comp
pkgId
cmd
(
globalArgs
++
opts
)
message
cfg
deafening
$
message
cfg
verbose
$
unwords
[
"setupWrapper"
,
show
(
cmd
:
cmdOps
),
show
mpath
]
setupWrapper
(
cmd
:
cmdOps
)
mpath
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment