Commit 05e047a3 authored by Mitchell Hashimoto's avatar Mitchell Hashimoto

command/build: Say the build is finished when it is finished

parent 721ec08d
......@@ -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)
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment