generator: Use search $PATH for python
authorKyle Manna <kyle@kylemanna.com>
Mon, 21 Sep 2015 15:16:17 +0000 (08:16 -0700)
committerKyle Manna <kyle@kylemanna.com>
Mon, 21 Sep 2015 15:19:42 +0000 (08:19 -0700)
* Search $PATH for the python binary so that this works better with
  things like virtualenv as used on Travis CI

generator/nanopb_generator.py

index df97338..82b7927 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 
 from __future__ import unicode_literals