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 | |
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')
-rwxr-xr-x | utilities/ovs-check-dead-ifs.in | 2 | ||||
-rwxr-xr-x | utilities/ovs-dpctl-top.in | 2 | ||||
-rw-r--r-- | utilities/ovs-l3ping.in | 2 | ||||
-rwxr-xr-x | utilities/ovs-parse-backtrace.in | 2 | ||||
-rwxr-xr-x | utilities/ovs-pcap.in | 2 | ||||
-rwxr-xr-x | utilities/ovs-tcpdump.in | 2 | ||||
-rwxr-xr-x | utilities/ovs-tcpundump.in | 2 | ||||
-rw-r--r-- | utilities/ovs-test.in | 2 | ||||
-rwxr-xr-x | utilities/ovs-vlan-test.in | 2 |
9 files changed, 9 insertions, 9 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 diff --git a/utilities/ovs-dpctl-top.in b/utilities/ovs-dpctl-top.in index 401a80eed..7f0f1f8c2 100755 --- a/utilities/ovs-dpctl-top.in +++ b/utilities/ovs-dpctl-top.in @@ -1,4 +1,4 @@ -#! /usr/bin/env @PYTHON@ +#! @PYTHON@ # # Copyright (c) 2013 Nicira, Inc. # diff --git a/utilities/ovs-l3ping.in b/utilities/ovs-l3ping.in index 38ac49157..1b0797295 100644 --- a/utilities/ovs-l3ping.in +++ b/utilities/ovs-l3ping.in @@ -1,4 +1,4 @@ -#! /usr/bin/env @PYTHON@ +#! @PYTHON@ # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/utilities/ovs-parse-backtrace.in b/utilities/ovs-parse-backtrace.in index c8a438557..350cbd9f8 100755 --- a/utilities/ovs-parse-backtrace.in +++ b/utilities/ovs-parse-backtrace.in @@ -1,4 +1,4 @@ -#! /usr/bin/env @PYTHON@ +#! @PYTHON@ # # Copyright (c) 2012 Nicira, Inc. # diff --git a/utilities/ovs-pcap.in b/utilities/ovs-pcap.in index c43acb52e..fc1532110 100755 --- a/utilities/ovs-pcap.in +++ b/utilities/ovs-pcap.in @@ -1,4 +1,4 @@ -#! /usr/bin/env @PYTHON@ +#! @PYTHON@ # # Copyright (c) 2010 Nicira, Inc. # diff --git a/utilities/ovs-tcpdump.in b/utilities/ovs-tcpdump.in index 4bec53513..6718c77fe 100755 --- a/utilities/ovs-tcpdump.in +++ b/utilities/ovs-tcpdump.in @@ -1,4 +1,4 @@ -#! /usr/bin/env @PYTHON@ +#! @PYTHON@ # # Copyright (c) 2016 Red Hat, Inc. # diff --git a/utilities/ovs-tcpundump.in b/utilities/ovs-tcpundump.in index 46e1d7486..57300cdc1 100755 --- a/utilities/ovs-tcpundump.in +++ b/utilities/ovs-tcpundump.in @@ -1,4 +1,4 @@ -#! /usr/bin/env @PYTHON@ +#! @PYTHON@ # # Copyright (c) 2010 Nicira, Inc. # diff --git a/utilities/ovs-test.in b/utilities/ovs-test.in index 46ad6fad5..fb1f9ad2a 100644 --- a/utilities/ovs-test.in +++ b/utilities/ovs-test.in @@ -1,4 +1,4 @@ -#! /usr/bin/env @PYTHON@ +#! @PYTHON@ # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/utilities/ovs-vlan-test.in b/utilities/ovs-vlan-test.in index 7a8993699..e2294989f 100755 --- a/utilities/ovs-vlan-test.in +++ b/utilities/ovs-vlan-test.in @@ -1,4 +1,4 @@ -#! /usr/bin/env @PYTHON@ +#! @PYTHON@ # # Copyright (c) 2010 Nicira, Inc. # |