Code Review
/
apps
/
agl-service-can-low-level.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
ae7b9a3
)
Fix protoc-gen-nanopb when the path contains spaces
author
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Sun, 29 Dec 2013 18:48:30 +0000
(20:48 +0200)
committer
Petteri Aimonen
<jpa@git.mail.kapsi.fi>
Sun, 29 Dec 2013 18:48:30 +0000
(20:48 +0200)
generator/protoc-gen-nanopb
patch
|
blob
|
history
diff --git
a/generator/protoc-gen-nanopb
b/generator/protoc-gen-nanopb
index
90be6a5
..
2de5621
100755
(executable)
--- 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