From 05e047a35578c425b6a3371982b72862d29bc0e6 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Fri, 7 Jun 2013 21:36:26 -0700 Subject: [PATCH] command/build: Say the build is finished when it is finished --- command/build/command.go | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/command/build/command.go b/command/build/command.go index 41aa32f09..eced6ab6a 100644 --- a/command/build/command.go +++ b/command/build/command.go @@ -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) }