examples: fix unusual-interpreter 60/2160/1
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Mon, 1 Aug 2016 12:33:13 +0000 (14:33 +0200)
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>
Mon, 1 Aug 2016 12:34:46 +0000 (14:34 +0200)
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"

Change-Id: Ic5fd88467814ed77e0e3e0bb3747b7fa555b5d3a
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
debian/patches/series
debian/patches/ubuntu-fix-unusual-interpreter.patch [new file with mode: 0644]

index 1e41329..cbf06b3 100644 (file)
@@ -1,2 +1,3 @@
 ubuntu-fix-vhost-user-socket-permission.patch
 ubuntu-fix-double-license-info.patch
+ubuntu-fix-unusual-interpreter.patch
diff --git a/debian/patches/ubuntu-fix-unusual-interpreter.patch b/debian/patches/ubuntu-fix-unusual-interpreter.patch
new file mode 100644 (file)
index 0000000..106703a
--- /dev/null
@@ -0,0 +1,31 @@
+Description: examples: fix unusual-interpreter
+
+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-01
+
+--- 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
+ #   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/python2
+ #   BSD LICENSE
+ #