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

YAMAMOTO Takashi yamamoto at midokura.com
Mon Oct 19 04:29:02 UTC 2015


On NetBSD, a typical path of python interpreter is /usr/pkg/bin/python.

Signed-off-by: YAMAMOTO Takashi <yamamoto at 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(-)

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");
-- 
2.3.8 (Apple Git-58)




More information about the dev mailing list