utilities: Tweak python shebangs to use env
authorYAMAMOTO Takashi <yamamoto@ovn.org>
Fri, 13 May 2016 14:36:15 +0000 (14:36 +0000)
committerYAMAMOTO Takashi <yamamoto@ovn.org>
Fri, 20 May 2016 06:13:59 +0000 (15:13 +0900)
commitaf51e6f0156eb82e2e2a7f0ba369c0e4cbfb6853
tree1033e5540ce1a0a3859c97abdce65d9730256c76
parent7e04dd8583c45d413a0419c7b197599a937f4d49
utilities: Tweak python shebangs to use env

"python" command provided by pkg_alternatives is a shell script.
At least on NetBSD-7, execve can't execute scripts whose interpreter
is another shell script.  (While some "rich" shells like zsh seem
to have handle the case by itself, NetBSD's /bin/sh doesn't.)
Workaround the issue by using env command for shebangs for
these scripts.

Noticed with the recent tunnel-push-pop.at tests using ovs-pcap command.

Signed-off-by: YAMAMOTO Takashi <yamamoto@ovn.org>
Acked-by: Ben Pfaff <blp@ovn.org>
utilities/ovs-check-dead-ifs.in
utilities/ovs-dpctl-top.in
utilities/ovs-l3ping.in
utilities/ovs-parse-backtrace.in
utilities/ovs-pcap.in
utilities/ovs-tcpundump.in
utilities/ovs-test.in
utilities/ovs-vlan-test.in