[ovs-git] [openvswitch/ovs] b49a95: Use @PYTHON@ directly instead of "#! /usr/bin/env"

GitHub noreply at github.com
Wed Jun 21 20:31:03 UTC 2017

  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: b49a959bac4731a6203cc6f846967d96e51180ab
  Author: Timothy Redaelli <tredaelli at redhat.com>
  Date:   2017-06-21 (Wed, 21 Jun 2017)

  Changed paths:
    M ovn/utilities/automake.mk
    M ovn/utilities/ovn-detrace.in
    R ovn/utilities/ovn-docker-overlay-driver
    A ovn/utilities/ovn-docker-overlay-driver.in
    R ovn/utilities/ovn-docker-underlay-driver
    A ovn/utilities/ovn-docker-underlay-driver.in
    M utilities/ovs-check-dead-ifs.in
    M utilities/ovs-dpctl-top.in
    M utilities/ovs-l3ping.in
    M utilities/ovs-parse-backtrace.in
    M utilities/ovs-pcap.in
    M utilities/ovs-tcpdump.in
    M utilities/ovs-tcpundump.in
    M utilities/ovs-test.in
    M utilities/ovs-vlan-test.in
    M vtep/automake.mk
    R vtep/ovs-vtep
    A vtep/ovs-vtep.in

  Log Message:
  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 at .

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 at redhat.com>
Signed-off-by: Joe Stringer <joe at ovn.org>

More information about the git mailing list