diff options
author | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-08-02 08:47:52 +0200 |
---|---|---|
committer | Christian Ehrhardt <christian.ehrhardt@canonical.com> | 2016-08-02 08:47:52 +0200 |
commit | aa875598de2b6123d288805fbf0e5aa42e72c8b7 (patch) | |
tree | 8b8e1795e4a80d705fce8804151fee220b37b83e | |
parent | 7a78f9fd1ea91807991be0ee1a91e803ed79f264 (diff) |
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 <christian.ehrhardt@canonical.com>
-rw-r--r-- | debian/patches/ubuntu-fix-unusual-interpreter.patch | 12 |
1 files 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 <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 # |