@@ -249,7 +249,7 @@ func compileFileWithRecipe(ctx *types.Context, sourcePath *paths.Path, source *p
249
249
return nil , errors .WithStack (err )
250
250
}
251
251
if ! objIsUpToDate {
252
- _ , _ , err = ExecRecipe (ctx , properties , recipe , false /* stdout */ , utils .ShowIfVerbose /* stderr */ , utils . Show )
252
+ _ , _ , err : = ExecRecipe (ctx , properties , recipe , utils . ShowIfVerbose /* stdout */ , utils .Show /* stderr */ )
253
253
if err != nil {
254
254
return nil , errors .WithStack (err )
255
255
}
@@ -480,17 +480,17 @@ func ArchiveCompiledFiles(ctx *types.Context, buildPath *paths.Path, archiveFile
480
480
properties .SetPath (constants .BUILD_PROPERTIES_ARCHIVE_FILE_PATH , archiveFilePath )
481
481
properties .SetPath (constants .BUILD_PROPERTIES_OBJECT_FILE , objectFile )
482
482
483
- if _ , _ , err := ExecRecipe (ctx , properties , constants .RECIPE_AR_PATTERN , false /* stdout */ , utils .ShowIfVerbose /* stderr */ , utils . Show ); err != nil {
483
+ if _ , _ , err := ExecRecipe (ctx , properties , constants .RECIPE_AR_PATTERN , utils . ShowIfVerbose /* stdout */ , utils .Show /* stderr */ ); err != nil {
484
484
return nil , errors .WithStack (err )
485
485
}
486
486
}
487
487
488
488
return archiveFilePath , nil
489
489
}
490
490
491
- func ExecRecipe (ctx * types.Context , buildProperties * properties.Map , recipe string , removeUnsetProperties bool , stdout int , stderr int ) ([]byte , []byte , error ) {
491
+ func ExecRecipe (ctx * types.Context , buildProperties * properties.Map , recipe string , stdout int , stderr int ) ([]byte , []byte , error ) {
492
492
// See util.ExecCommand for stdout/stderr arguments
493
- command , err := PrepareCommandForRecipe (ctx , buildProperties , recipe , removeUnsetProperties )
493
+ command , err := PrepareCommandForRecipe (ctx , buildProperties , recipe , false )
494
494
if err != nil {
495
495
return nil , nil , errors .WithStack (err )
496
496
}
0 commit comments