mirror of
https://github.com/virt-manager/virt-manager.git
synced 2025-02-25 18:55:27 -06:00
Use python in path rather than hardcoding /usr/bin/python
This reverts two commits:5104669795
f91523197f
The change was originally made for unknown reasons: it was requested through a RHEL bug that didn't have any justification and I just changed it in ignorance: https://bugzilla.redhat.com/show_bug.cgi?id=708181 But it causes issues on freebsd where apparently python is installed into /usr/local/bin/python by default: https://www.redhat.com/archives/virt-tools-list/2012-July/msg00131.html
This commit is contained in:
parent
8bfad3a2cc
commit
30282a1709
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec /usr/bin/python "::PYTHONDIR::/::PACKAGE::.py"
|
||||
exec python "::PYTHONDIR::/::PACKAGE::.py"
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec /usr/bin/python "::PYTHONDIR::/::PACKAGE::.py" "$@"
|
||||
exec python "::PYTHONDIR::/::PACKAGE::.py" "$@"
|
||||
|
@ -1,3 +1,3 @@
|
||||
#!/bin/sh
|
||||
|
||||
exec /usr/bin/python "::PYTHONDIR::/::PACKAGE::.py" "$@"
|
||||
exec python "::PYTHONDIR::/::PACKAGE::.py" "$@"
|
||||
|
Loading…
Reference in New Issue
Block a user