Skip to content

Commit d7b901d

Browse files
committed
feature(cabal-install): improve logging of setup arguments
1 parent 6f865c6 commit d7b901d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ internalSetupMethod verbosity options bt args = do
550550
"Using internal setup method with build-type "
551551
++ show bt
552552
++ " and args:\n "
553-
++ show args
553+
++ unwords args
554554
-- NB: we do not set the working directory of the process here, because
555555
-- we will instead pass the -working-dir flag when invoking the Setup script.
556556
-- Note that the Setup script is guaranteed to support this flag, because
@@ -623,7 +623,7 @@ selfExecSetupMethod verbosity options bt args0 = do
623623
"Using self-exec internal setup method with build-type "
624624
++ show bt
625625
++ " and args:\n "
626-
++ show args
626+
++ unwords args
627627
path <- getExecutablePath
628628
invoke verbosity path args options
629629

0 commit comments

Comments
 (0)