aboutsummaryrefslogtreecommitdiffstats
path: root/generator/protoc-gen-nanopb
diff options
context:
space:
mode:
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