From 6edb3c53e584da718ac54c0984de483dc19a8430 Mon Sep 17 00:00:00 2001 From: Christian Ehrhardt Date: Mon, 1 Aug 2016 14:33:13 +0200 Subject: [PATCH] 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" Change-Id: Ic5fd88467814ed77e0e3e0bb3747b7fa555b5d3a Signed-off-by: Christian Ehrhardt --- debian/patches/series | 1 + .../patches/ubuntu-fix-unusual-interpreter.patch | 31 ++++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 debian/patches/ubuntu-fix-unusual-interpreter.patch diff --git a/debian/patches/series b/debian/patches/series index 1e41329b..cbf06b31 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -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 index 00000000..106703af --- /dev/null +++ b/debian/patches/ubuntu-fix-unusual-interpreter.patch @@ -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 +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 + # -- 2.16.6