Code Review
/
apps
/
agl-service-can-low-level.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
47e744f
)
Prefer python2 in generator/protoc-gen-nanopb.
author
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Tue, 28 Apr 2015 15:14:24 +0000
(18:14 +0300)
committer
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Tue, 28 Apr 2015 15:14:24 +0000
(18:14 +0300)
Update issue 155
Status: FixedInGit
generator/protoc-gen-nanopb
patch
|
blob
|
history
diff --git
a/generator/protoc-gen-nanopb
b/generator/protoc-gen-nanopb
index
2de5621
..
595c65f
100755
(executable)
--- a/
generator/protoc-gen-nanopb
+++ b/
generator/protoc-gen-nanopb
@@
-10,4
+10,5
@@
# --plugin= on the command line.
MYPATH=$(dirname "$0")
+PYTHON=$(which python2 || which python)
exec python "$MYPATH/nanopb_generator.py" --protoc-plugin