File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Tools/build-swiftly-release Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -25,7 +25,7 @@ extension Runnable {
2525 // Runs the command while echoing the full command-line to stdout for logging and reproduction
2626 func runEcho( environment: Environment = . inherit, quiet: Bool = false ) async throws {
2727 let config = self . config ( )
28- if !quiet { print ( " \( config) " ) }
28+ if !quiet { print ( " \( config. executable ) \( config . arguments ) " ) }
2929 try await self . run ( environment: environment, quiet: quiet)
3030 }
3131}
@@ -181,7 +181,7 @@ struct BuildSwiftlyRelease: AsyncParsableCommand {
181181 . name( " swift " ) ,
182182 arguments: [ " --version " ]
183183 )
184- print ( " \( swiftVersionCmd) " )
184+ print ( " \( swiftVersionCmd. executable ) \( swiftVersionCmd . arguments ) " )
185185
186186 let swiftVerOutput = ( try await Subprocess . run ( swiftVersionCmd, output: . string( limit: 1024 ) ) ) . standardOutput ?? " "
187187 guard let swiftVerMatch = try swiftVerRegex. firstMatch ( in: swiftVerOutput) else {
@@ -236,7 +236,7 @@ struct BuildSwiftlyRelease: AsyncParsableCommand {
236236 ] ,
237237 environment: customEnv,
238238 )
239- print ( " \( configCmd) " )
239+ print ( " \( configCmd. executable ) \( configCmd . arguments ) " )
240240
241241 let result = try await Subprocess . run (
242242 configCmd,
You can’t perform that action at this time.
0 commit comments