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 2016/11/10 22:38:21 UTC

[09/50] incubator-mynewt-newt git commit: newt; not having download script is ok. Don't error out.

newt; not having download script is ok. Don't error out.


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/059bd7a1
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/tree/059bd7a1
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/diff/059bd7a1

Branch: refs/heads/master
Commit: 059bd7a117bb8719e5c8719cd687e8aad32b4af6
Parents: 0048727
Author: Marko Kiiskila <ma...@runtime.io>
Authored: Wed Oct 26 11:56:32 2016 -0700
Committer: Marko Kiiskila <ma...@runtime.io>
Committed: Wed Oct 26 11:56:32 2016 -0700

----------------------------------------------------------------------
 newt/builder/load.go | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-newt/blob/059bd7a1/newt/builder/load.go
----------------------------------------------------------------------
diff --git a/newt/builder/load.go b/newt/builder/load.go
index b370a4d..2fd4e7f 100644
--- a/newt/builder/load.go
+++ b/newt/builder/load.go
@@ -55,8 +55,7 @@ func Load(binBaseName string, bspPkg *pkg.BspPackage,
 	extraEnvSettings map[string]string) error {
 
 	if bspPkg.DownloadScript == "" {
-		return util.FmtNewtError("No download script for BSP %s\n",
-			bspPkg.Name())
+		return nil
 	}
 
 	bspPath := bspPkg.BasePath()