Skip to content

Commit eeb1cf2

Browse files
committed
better logging
1 parent e020624 commit eeb1cf2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cabal-install/src/Distribution/Client/SetupWrapper.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,7 +545,7 @@ internalSetupMethod verbosity options bt args = do
545545
"Using internal setup method with build-type "
546546
++ show bt
547547
++ " and args:\n "
548-
++ show args
548+
++ unwords args
549549
-- NB: we do not set the working directory of the process here, because
550550
-- we will instead pass the -working-dir flag when invoking the Setup script.
551551
-- Note that the Setup script is guaranteed to support this flag, because
@@ -618,7 +618,7 @@ selfExecSetupMethod verbosity options bt args0 = do
618618
"Using self-exec internal setup method with build-type "
619619
++ show bt
620620
++ " and args:\n "
621-
++ show args
621+
++ unwords args
622622
path <- getExecutablePath
623623
invoke verbosity path args options
624624

cabal-testsuite/PackageTests/CustomPreProcess/Setup.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,5 +60,5 @@ main = defaultMainWithHooks
6060
do exitCode <- rawSystem path args
6161
case exitCode of ExitSuccess -> return ()
6262
f@(ExitFailure _) -> fail $ "callProcess " ++ show path
63-
++ " " ++ show args ++ " failed: "
63+
++ " " ++ unwords args ++ " failed: "
6464
++ show f

0 commit comments

Comments
 (0)