summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-04-28 18:16:51 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2015-04-28 18:16:51 +0300
commit56fdc1fc56b98dda82561d90a615698d42ee59a0 (patch)
tree245556c06324a5722669fe81396133e25cf26e80
parent0dcfa096e69c8ea081d934086ba2f11c8f5abde7 (diff)
Fix for previous (issue #155)
-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