Use env python
Change the shebang from /usr/bin/python to /usr/bin/env python Some users, especially on older systems don't use the python supplied with the OS. This has an impact with module loading if the python in /usr/bin is 2.6, and user wants to use 2.7 in /usr/local/bin, for example Change-Id: Ib31b369a94c33fb7508f0539c2b2f14177e507e0
This commit is contained in:
parent
f1c90ae72a
commit
fc862f460c
@ -1,4 +1,4 @@
|
|||||||
#!/usr/bin/python
|
#!/usr/bin/env python
|
||||||
# Copyright 2013 Hewlett-Packard Development Company, L.P.
|
# Copyright 2013 Hewlett-Packard Development Company, L.P.
|
||||||
#
|
#
|
||||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||||
|
Loading…
Reference in New Issue
Block a user