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

smihaylov pushed a commit to branch tendermint
in repository https://gitbox.apache.org/repos/asf/incubator-milagro-dta.git


The following commit(s) were added to refs/heads/tendermint by this push:
     new 05ad9e4  Update the protobuf build script to use GOPATH instead 
hardcoded path
05ad9e4 is described below

commit 05ad9e4a192388c7fd72d0b10880d5beb5ee104e
Author: Stanislav Mihaylov <[email protected]>
AuthorDate: Tue Oct 15 10:55:31 2019 +0300

    Update the protobuf build script to use GOPATH instead hardcoded path
---
 libs/documents/build | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libs/documents/build b/libs/documents/build
index b3cb2a8..9d79924 100755
--- a/libs/documents/build
+++ b/libs/documents/build
@@ -17,8 +17,8 @@
 
 #build the protobuffer docs.pb.go file from the definition file docs.proto
 protoc \
-  --proto_path=$HOME/go/src \
-  --proto_path=$HOME/go/src/github.com/gogo/protobuf/ \
+  --proto_path=$GOPATH/src \
+  --proto_path=$GOPATH/src/github.com/gogo/protobuf/ \
   --proto_path=. \
   --go_out=. \
   --govalidators_out=. \

Reply via email to