summaryrefslogtreecommitdiff
path: root/virt-xml
diff options
context:
space:
mode:
authorCole Robinson <crobinso@redhat.com>2016-06-17 12:56:14 -0400
committerCole Robinson <crobinso@redhat.com>2016-06-17 12:56:14 -0400
commit47dd38eb3eb604b72687afec7463c7303caac133 (patch)
treef6ee1dce2f34d5f099ff16bb8be1f154f9e90831 /virt-xml
parent246e3c9c591ffc54ce5591aa93cc178c060d8af9 (diff)
downloadvirt-manager-47dd38eb3eb604b72687afec7463c7303caac133.tar.gz
Use #!/usr/bin/env for python scripts
This is recommended for upstream, but not for downstream, like Fedora. So change /usr/bin/env to /usr/bin/python2 at RPM install time to match the ideal Fedora config. https://fedoraproject.org/wiki/Features/SystemPythonExecutablesUseSystemPython https://bugzilla.redhat.com/show_bug.cgi?id=1303282
Diffstat (limited to 'virt-xml')
-rwxr-xr-xvirt-xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/virt-xml b/virt-xml
index 74762ab7..8fa95196 100755
--- a/virt-xml
+++ b/virt-xml
@@ -1,4 +1,4 @@
-#!/usr/bin/python2 -tt
+#!/usr/bin/env python2 -tt
#
# Copyright 2013-2014 Red Hat, Inc.
# Cole Robinson <crobinso@redhat.com>