diff options
author | Petteri Aimonen <jpa@github.mail.kapsi.fi> | 2015-09-26 12:08:55 +0300 |
---|---|---|
committer | Petteri Aimonen <jpa@github.mail.kapsi.fi> | 2015-09-26 12:08:55 +0300 |
commit | 403706c63c1b2196960c755cd4c61bd179a04c6e (patch) | |
tree | 8233f003e317cb48d2db2756ebd58b495a9a2f47 /generator/protoc-gen-nanopb | |
parent | 6cd4f20b0601ce7a68d555087ce0a62f837026ed (diff) | |
parent | 9c9f7f14e71c3b49877cca8eccd448cabea6306d (diff) |
Merge pull request #169 from kylemanna/python3
Add proper Python3 support to the generator
Diffstat (limited to 'generator/protoc-gen-nanopb')
-rwxr-xr-x | generator/protoc-gen-nanopb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/generator/protoc-gen-nanopb b/generator/protoc-gen-nanopb index 6dc468d3..358f97cf 100755 --- a/generator/protoc-gen-nanopb +++ b/generator/protoc-gen-nanopb @@ -10,5 +10,4 @@ # --plugin= on the command line. MYPATH=$(dirname "$0") -PYTHON=$(which python2 || which python) -exec $PYTHON "$MYPATH/nanopb_generator.py" --protoc-plugin +exec "$MYPATH/nanopb_generator.py" --protoc-plugin |