summaryrefslogtreecommitdiffstats
path: root/generator/protoc-gen-nanopb
diff options
context:
space:
mode:
Diffstat (limited to 'generator/protoc-gen-nanopb')
-rwxr-xr-xgenerator/protoc-gen-nanopb2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/protoc-gen-nanopb b/generator/protoc-gen-nanopb
index 595c65f7..6dc468d3 100755
--- a/generator/protoc-gen-nanopb
+++ b/generator/protoc-gen-nanopb
@@ -11,4 +11,4 @@
MYPATH=$(dirname "$0")
PYTHON=$(which python2 || which python)
-exec python "$MYPATH/nanopb_generator.py" --protoc-plugin
+exec $PYTHON "$MYPATH/nanopb_generator.py" --protoc-plugin