diff options
-rwxr-xr-x | generator/protoc-gen-nanopb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/generator/protoc-gen-nanopb b/generator/protoc-gen-nanopb index 90be6a58..2de56216 100755 --- a/generator/protoc-gen-nanopb +++ b/generator/protoc-gen-nanopb @@ -9,4 +9,5 @@ # path is already set up properly and there is no need to give # --plugin= on the command line. -exec python $(dirname $0)/nanopb_generator.py --protoc-plugin +MYPATH=$(dirname "$0") +exec python "$MYPATH/nanopb_generator.py" --protoc-plugin |