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 2018/03/06 18:45:32 UTC

[mynewt-newt] branch master updated: newt - Fix build errors.

This is an automated email from the ASF dual-hosted git repository.

ccollins pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/mynewt-newt.git


The following commit(s) were added to refs/heads/master by this push:
     new aa0f8e9  newt - Fix build errors.
aa0f8e9 is described below

commit aa0f8e9be9db6469ea0c3e631aee3c9b9daadcb0
Author: Christopher Collins <cc...@apache.org>
AuthorDate: Tue Mar 6 10:44:56 2018 -0800

    newt - Fix build errors.
    
    This fixes the build error introduced in commit
    0b41a1923141e6e5bceba7f5b48f9f6359af28d4.
---
 newt/downloader/downloader.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/newt/downloader/downloader.go b/newt/downloader/downloader.go
index 2ccf05d..eaa1b88 100644
--- a/newt/downloader/downloader.go
+++ b/newt/downloader/downloader.go
@@ -194,10 +194,10 @@ func checkout(repoDir string, commit string) error {
 	// repo from being in a modified "(new commits)" state immediately after
 	// switching branches.  If the submodules have already been updated, this
 	// does not generate any network activity.
-	if err := initSubmodules(path); err != nil {
+	if err := initSubmodules(repoDir); err != nil {
 		return err
 	}
-	if err := updateSubmodules(path); err != nil {
+	if err := updateSubmodules(repoDir); err != nil {
 		return err
 	}
 

-- 
To stop receiving notification emails like this one, please contact
ccollins@apache.org.