You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2017/04/07 19:36:15 UTC

[14/23] incubator-mynewt-newt git commit: Add env to verbose output, remove duplicated msg

Add env to verbose output, remove duplicated msg


Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/commit/af489655
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/af489655
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/af489655

Branch: refs/heads/master
Commit: af4896556d85f6846a6247ecf04ab5567f28b57d
Parents: 0f9e3f7
Author: Fabio Utzig <ut...@utzig.org>
Authored: Mon Mar 13 10:06:57 2017 -0300
Committer: Fabio Utzig <ut...@utzig.org>
Committed: Mon Mar 13 10:06:57 2017 -0300

----------------------------------------------------------------------
 newt/builder/load.go | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/af489655/newt/builder/load.go
----------------------------------------------------------------------
diff --git a/newt/builder/load.go b/newt/builder/load.go
index eb7396e..fafd4b8 100644
--- a/newt/builder/load.go
+++ b/newt/builder/load.go
@@ -86,6 +86,10 @@ func Load(binBaseName string, bspPkg *pkg.BspPackage,
 
 	util.StatusMessage(util.VERBOSITY_VERBOSE, "Load command: %s\n",
 		strings.Join(cmd, " "))
+	util.StatusMessage(util.VERBOSITY_VERBOSE, "Environment:\n")
+	for _, v := range env {
+		util.StatusMessage(util.VERBOSITY_VERBOSE, "* %s\n", v)
+	}
 	if _, err := util.ShellCommand(cmd, env); err != nil {
 		return err
 	}
@@ -145,8 +149,6 @@ func (b *Builder) Load(imageSlot int, extraJtagCmd string) error {
 		return err
 	}
 
-	util.StatusMessage(util.VERBOSITY_VERBOSE, "Successfully loaded image.\n")
-
 	return nil
 }