File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
cabal-install/src/Distribution/Client
cabal-testsuite/PackageTests/CustomPreProcess Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff 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
Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments