From aa875598de2b6123d288805fbf0e5aa42e72c8b7 Mon Sep 17 00:00:00 2001 From: Christian Ehrhardt Date: Tue, 2 Aug 2016 08:47:52 +0200 Subject: [PATCH] evolve "fix unusual interpreters" along the upstream discussion In a Discussion with Luca and Upstream DPDK it became clear that "/usr/bin/env python" is preferred for Lintian as well as in general. So change the #! to that. Change-Id: I09cd0d01ef2a086a77c9dacb530f2d06f0db163a Signed-off-by: Christian Ehrhardt --- debian/patches/ubuntu-fix-unusual-interpreter.patch | 12 ++++++++---- 1 file 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 -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 # -- 2.16.6