Skip to content

Commit

Permalink
[BUILD] Use '-R' for cp operations
Browse files Browse the repository at this point in the history
-r/-R are synonomous on Linux, but OSX only supports -R.  Therefore
lets use the least common denominator.

Change-Id: I5ccbc084e16ea39da084e04ecf3f199e56a6a563
Signed-off-by: Greg Haskins <gregory.haskins@gmail.com>
  • Loading branch information
ghaskins committed Nov 7, 2016
1 parent 37f44d3 commit 8dd382c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gotools/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ all: $(GOTOOLS_BIN)
# Special override for protoc-gen-go since we want to use the version vendored with the project
gotool.protoc-gen-go:
mkdir -p $(GOPATH)/src/github.com/golang/protobuf/
cp -r $(GOPATH)/src/github.com/hyperledger/fabric/vendor/github.com/golang/protobuf/ $(GOPATH)/src/github.com/golang/
cp -R $(GOPATH)/src/github.com/hyperledger/fabric/vendor/github.com/golang/protobuf/ $(GOPATH)/src/github.com/golang/
go install github.com/golang/protobuf/protoc-gen-go
rm -rf $(GOPATH)/src/github.com/golang/protobuf

Expand Down

0 comments on commit 8dd382c

Please sign in to comment.