command/build: Say the build is finished when it is finished
This commit is contained in:
parent
721ec08de9
commit
05e047a355
|
@ -136,8 +136,9 @@ func (c Command) Run(env packer.Environment, args []string) int {
|
|||
defer wg.Done()
|
||||
|
||||
log.Printf("Starting build run: %s", b.Name())
|
||||
artifacts[b.Name()] = b.Run(buildUis[b.Name()])
|
||||
log.Printf("Build finished: %s", b.Name())
|
||||
ui := buildUis[b.Name()]
|
||||
artifacts[b.Name()] = b.Run(ui)
|
||||
ui.Say("Build finished.")
|
||||
}(b)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue