summaryrefslogtreecommitdiffstats
path: root/generator/protoc-gen-nanopb
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@github.mail.kapsi.fi>2015-09-26 12:08:55 +0300
committerPetteri Aimonen <jpa@github.mail.kapsi.fi>2015-09-26 12:08:55 +0300
commit403706c63c1b2196960c755cd4c61bd179a04c6e (patch)
tree8233f003e317cb48d2db2756ebd58b495a9a2f47 /generator/protoc-gen-nanopb
parent6cd4f20b0601ce7a68d555087ce0a62f837026ed (diff)
parent9c9f7f14e71c3b49877cca8eccd448cabea6306d (diff)
Merge pull request #169 from kylemanna/python3
Add proper Python3 support to the generator
Diffstat (limited to 'generator/protoc-gen-nanopb')
-rwxr-xr-xgenerator/protoc-gen-nanopb3
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