Update Python hashbang to respect environment

The /usr/bin/python hashbang causes doc builds to fail when Python3 is
the default Python and Python2 is being used from within a virtualenv or
Pythonbrew environment.

Signed-off-by: Sharif Olorin <sio@tesser.org>
This commit is contained in:
Sharif Olorin 2014-03-11 20:44:54 +11:00
parent ccf9a7459c
commit 861e62aa5d

View File

@ -1,4 +1,4 @@
#!/usr/bin/python
#!/usr/bin/env python
import re
import sys