aboutsummaryrefslogtreecommitdiffstats
path: root/generator
diff options
context:
space:
mode:
authorKyle Manna <kyle@kylemanna.com>2015-09-21 08:16:17 -0700
committerKyle Manna <kyle@kylemanna.com>2015-09-21 08:19:42 -0700
commit9c9f7f14e71c3b49877cca8eccd448cabea6306d (patch)
tree8cbf9c6855543f9d3f76a3e8509f3e199bceec81 /generator
parent67cafac8f2f4797e195c5ee1e1fcf691129f8694 (diff)
generator: Use search $PATH for python
* Search $PATH for the python binary so that this works better with things like virtualenv as used on Travis CI
Diffstat (limited to 'generator')
-rwxr-xr-xgenerator/nanopb_generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/nanopb_generator.py b/generator/nanopb_generator.py
index df973386..82b79270 100755
--- a/generator/nanopb_generator.py
+++ b/generator/nanopb_generator.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
from __future__ import unicode_literals