[ovs-dev,11/21] use "/usr/bin/env python" for shebangs for python scripts
diff mbox

Message ID 1445228952-22445-11-git-send-email-yamamoto@midokura.com
State Awaiting Upstream
Headers show

Commit Message

Takashi Yamamoto Oct. 19, 2015, 4:29 a.m. UTC
On NetBSD, a typical path of python interpreter is /usr/pkg/bin/python.

Signed-off-by: YAMAMOTO Takashi <yamamoto@midokura.com>
---
 debian/ovs-monitor-ipsec                              | 2 +-
 ofproto/ipfix-gen-entities                            | 2 +-
 utilities/ovs-dev.py                                  | 2 +-
 utilities/ovs-pipegen.py                              | 2 +-
 utilities/qemu-wrap.py                                | 2 +-
 vtep/ovs-vtep                                         | 2 +-
 xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync | 2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)

Comments

Ben Pfaff Nov. 10, 2015, 4:25 a.m. UTC | #1
On Mon, Oct 19, 2015 at 01:29:02PM +0900, YAMAMOTO Takashi wrote:
> On NetBSD, a typical path of python interpreter is /usr/pkg/bin/python.
> 
> Signed-off-by: YAMAMOTO Takashi <yamamoto@midokura.com>

Acked-by: Ben Pfaff <blp@ovn.org>

Patch
diff mbox

diff --git a/debian/ovs-monitor-ipsec b/debian/ovs-monitor-ipsec
index ffaa979..d35ec46 100755
--- a/debian/ovs-monitor-ipsec
+++ b/debian/ovs-monitor-ipsec
@@ -1,4 +1,4 @@ 
-#!/usr/bin/python
+#! /usr/bin/env python
 # Copyright (c) 2009, 2010, 2011, 2012 Nicira, Inc.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/ofproto/ipfix-gen-entities b/ofproto/ipfix-gen-entities
index 4d4e0de..7cd0b03 100755
--- a/ofproto/ipfix-gen-entities
+++ b/ofproto/ipfix-gen-entities
@@ -1,4 +1,4 @@ 
-#!/usr/bin/python
+#! /usr/bin/env python
 #
 # Copyright (C) 2012 Nicira, Inc.
 #
diff --git a/utilities/ovs-dev.py b/utilities/ovs-dev.py
index e4314c0..9ef9723 100755
--- a/utilities/ovs-dev.py
+++ b/utilities/ovs-dev.py
@@ -1,4 +1,4 @@ 
-#!/usr/bin/python
+#! /usr/bin/env python
 # Copyright (c) 2013, 2014, 2015 Nicira, Inc.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/utilities/ovs-pipegen.py b/utilities/ovs-pipegen.py
index 95647d1..4bf240f 100755
--- a/utilities/ovs-pipegen.py
+++ b/utilities/ovs-pipegen.py
@@ -1,4 +1,4 @@ 
-#!/usr/bin/python
+#! /usr/bin/env python
 # Copyright (c) 2013, 2014, 2015 Nicira, Inc.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/utilities/qemu-wrap.py b/utilities/qemu-wrap.py
index 5cee849..7847c8c 100755
--- a/utilities/qemu-wrap.py
+++ b/utilities/qemu-wrap.py
@@ -1,4 +1,4 @@ 
-#!/usr/bin/python
+#! /usr/bin/env python
 #
 #   BSD LICENSE
 #
diff --git a/vtep/ovs-vtep b/vtep/ovs-vtep
index a774e02..46a5692 100755
--- a/vtep/ovs-vtep
+++ b/vtep/ovs-vtep
@@ -1,4 +1,4 @@ 
-#!/usr/bin/python
+#! /usr/bin/env python
 # Copyright (C) 2013 Nicira, Inc. All Rights Reserved.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");
diff --git a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync
index 1c8ad51..f5c38be 100755
--- a/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync
+++ b/xenserver/usr_share_openvswitch_scripts_ovs-xapi-sync
@@ -1,4 +1,4 @@ 
-#!/usr/bin/python
+#! /usr/bin/env python
 # Copyright (c) 2009, 2010, 2011, 2012, 2013 Nicira, Inc.
 #
 # Licensed under the Apache License, Version 2.0 (the "License");