]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
Update Python hashbang to respect environment 1423/head
authorSharif Olorin <sio@tesser.org>
Tue, 11 Mar 2014 09:44:54 +0000 (20:44 +1100)
committerSharif Olorin <sio@tesser.org>
Tue, 11 Mar 2014 09:46:53 +0000 (20:46 +1100)
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>
doc/scripts/gen_state_diagram.py

index 603cb9c821e1c62a73fd79d56f89cf9286565404..a1830826500f68cae1d7e0319f88c3ab09018c58 100755 (executable)
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/env python
 import re
 import sys