diff options
author | Timothy Redaelli <tredaelli@redhat.com> | 2017-06-20 19:53:55 +0200 |
---|---|---|
committer | Joe Stringer <joe@ovn.org> | 2017-06-21 13:28:48 -0700 |
commit | b49a959bac4731a6203cc6f846967d96e51180ab (patch) | |
tree | 213ce34cdd85c474b92d2cf9a05ed9bf23fd9a57 /utilities/ovs-check-dead-ifs.in | |
parent | 56c08ab4fae5a40e0b5f986b8bc1ff97b2dde3f3 (diff) | |
download | openvswitch-b49a959bac4731a6203cc6f846967d96e51180ab.tar.gz |
Use @PYTHON@ directly instead of "#! /usr/bin/env"
In some installed python scripts /usr/bin/env is unnecessarily used in
shebang, replace it directly with @PYTHON@.
This will also avoid implicit dependency to /usr/bin/env in RPM distributions
and it will correctly add implicit dependency to /usr/bin/python instead.
Signed-off-by: Timothy Redaelli <tredaelli@redhat.com>
Signed-off-by: Joe Stringer <joe@ovn.org>
Diffstat (limited to 'utilities/ovs-check-dead-ifs.in')
-rwxr-xr-x | utilities/ovs-check-dead-ifs.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/utilities/ovs-check-dead-ifs.in b/utilities/ovs-check-dead-ifs.in index 127ba38a7..ac54f6c9c 100755 --- a/utilities/ovs-check-dead-ifs.in +++ b/utilities/ovs-check-dead-ifs.in @@ -1,4 +1,4 @@ -#! /usr/bin/env @PYTHON@ +#! @PYTHON@ import os import re |