summaryrefslogtreecommitdiffstats
path: root/debian/patches/fix-unusual-interpreter.patch
diff options
context:
space:
mode:
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-08-02 08:50:33 +0200
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>2016-08-02 08:50:33 +0200
commite0c51da63f97d9b90bae4ed9cf242ccd06002f71 (patch)
tree3740abc1ce81ed934cc65383e39bfcdff45b812f /debian/patches/fix-unusual-interpreter.patch
parentaa875598de2b6123d288805fbf0e5aa42e72c8b7 (diff)
Drop ubuntu prefix from patches
Since we are now packaging together in a generic .deb way I removed the ubuntu file prefix in d/p/*. Change-Id: Iae64f76129b0814148703ba402670c14cebdaa95 Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
Diffstat (limited to 'debian/patches/fix-unusual-interpreter.patch')
-rw-r--r--debian/patches/fix-unusual-interpreter.patch35
1 files changed, 35 insertions, 0 deletions
diff --git a/debian/patches/fix-unusual-interpreter.patch b/debian/patches/fix-unusual-interpreter.patch
new file mode 100644
index 00000000..754a4135
--- /dev/null
+++ b/debian/patches/fix-unusual-interpreter.patch
@@ -0,0 +1,35 @@
+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
+human, but not shell readable.
+
+Fixes: 8673a3e8 ("examples/ip_pipeline: add config diagram generator")
+Fixes: fa667b46 ("examples/ip_pipeline: add core mappings script")
+
+This gets rid of lintian warning "W: dpdk-doc: unusual-interpreter"
+
+Forwarded: yes
+Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
+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/env python
+
+ # BSD LICENSE
+ #
+--- a/examples/ip_pipeline/config/pipeline-to-core-mapping.py
++++ b/examples/ip_pipeline/config/pipeline-to-core-mapping.py
+@@ -1,4 +1,4 @@
+-#! /usr/bin/python2
++#!/usr/bin/env python
+
+ # BSD LICENSE
+ #