diff options
author | Kyle Manna <kyle@kylemanna.com> | 2015-09-21 08:16:17 -0700 |
---|---|---|
committer | Kyle Manna <kyle@kylemanna.com> | 2015-09-21 08:19:42 -0700 |
commit | 9c9f7f14e71c3b49877cca8eccd448cabea6306d (patch) | |
tree | 8cbf9c6855543f9d3f76a3e8509f3e199bceec81 | |
parent | 67cafac8f2f4797e195c5ee1e1fcf691129f8694 (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
-rwxr-xr-x | generator/nanopb_generator.py | 2 |
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 |