evolve "fix unusual interpreters" along the upstream discussion 73/2173/1
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Tue, 2 Aug 2016 06:47:52 +0000 (08:47 +0200)
committerChristian Ehrhardt <christian.ehrhardt@canonical.com>
Tue, 2 Aug 2016 06:47:52 +0000 (08:47 +0200)
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 <christian.ehrhardt@canonical.com>
debian/patches/ubuntu-fix-unusual-interpreter.patch

index 106703a..754a413 100644 (file)
@@ -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
  #