[PATCH v1 3/4] app: give python apps a consistent shebang line
From: John McNamara <hidden>
Date: 2016-12-08 15:51:21
Subsystem:
the rest · Maintainer:
Linus Torvalds
Add a consistent "env python" shebang line to the DPDK Python apps so that they can call the default system python. Signed-off-by: John McNamara <redacted> --- app/test/autotest_data.py | 2 +- app/test/autotest_test_funcs.py | 2 +- doc/guides/conf.py | 2 ++ tools/dpdk-devbind.py | 3 ++- 4 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/app/test/autotest_data.py b/app/test/autotest_data.py
index 5176064..7be345a 100644
--- a/app/test/autotest_data.py
+++ b/app/test/autotest_data.py@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # BSD LICENSE #
diff --git a/app/test/autotest_test_funcs.py b/app/test/autotest_test_funcs.py
index c482ea8..1fa8cf0 100644
--- a/app/test/autotest_test_funcs.py
+++ b/app/test/autotest_test_funcs.py@@ -1,4 +1,4 @@ -#!/usr/bin/python +#!/usr/bin/env python # BSD LICENSE #
diff --git a/doc/guides/conf.py b/doc/guides/conf.py
index 34c62de..97c5d0e 100644
--- a/doc/guides/conf.py
+++ b/doc/guides/conf.py@@ -1,3 +1,5 @@ +#!/usr/bin/env python + # BSD LICENSE # Copyright(c) 2010-2015 Intel Corporation. All rights reserved. # All rights reserved.
diff --git a/tools/dpdk-devbind.py b/tools/dpdk-devbind.py
index 4f51a4b..a5b2af5 100755
--- a/tools/dpdk-devbind.py
+++ b/tools/dpdk-devbind.py@@ -1,4 +1,5 @@ -#! /usr/bin/python +#!/usr/bin/env python + # # BSD LICENSE #
--
2.7.4