summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--debian/patches/ubuntu-fix-unusual-interpreter.patch12
1 files changed, 8 insertions, 4 deletions
diff --git a/debian/patches/ubuntu-fix-unusual-interpreter.patch b/debian/patches/ubuntu-fix-unusual-interpreter.patch
index 106703af..754a4135 100644
--- a/debian/patches/ubuntu-fix-unusual-interpreter.patch
+++ b/debian/patches/ubuntu-fix-unusual-interpreter.patch
@@ -1,4 +1,8 @@
-Description: examples: fix unusual-interpreter
+Description: examples: fix unusual-interpreter v2
+
+*Update in v2*
+- use #!/usr/bin/env python as usually recommended and suggested in the
+ discussion
Due to regular lintian checks in Debian packaging it surfaced that these
two scripts had a space in their #! statement which renders it to be
@@ -11,13 +15,13 @@ This gets rid of lintian warning "W: dpdk-doc: unusual-interpreter"
Forwarded: yes
Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
-Last-Update: 2016-08-01
+Last-Update: 2016-08-02
--- a/examples/ip_pipeline/config/diagram-generator.py
+++ b/examples/ip_pipeline/config/diagram-generator.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python2
-+#!/usr/bin/python2
++#!/usr/bin/env python
# BSD LICENSE
#
@@ -25,7 +29,7 @@ Last-Update: 2016-08-01
+++ b/examples/ip_pipeline/config/pipeline-to-core-mapping.py
@@ -1,4 +1,4 @@
-#! /usr/bin/python2
-+#!/usr/bin/python2
++#!/usr/bin/env python
# BSD LICENSE
#