Drop ubuntu prefix from patches
[deb_dpdk.git] / debian / patches / fix-unusual-interpreter.patch
1 Description: examples: fix unusual-interpreter v2
2
3 *Update in v2*
4 - use #!/usr/bin/env python as usually recommended and suggested in the
5   discussion
6
7 Due to regular lintian checks in Debian packaging it surfaced that these
8 two scripts had a space in their #! statement which renders it to be
9 human, but not shell readable.
10
11 Fixes: 8673a3e8 ("examples/ip_pipeline: add config diagram generator")
12 Fixes: fa667b46 ("examples/ip_pipeline: add core mappings script")
13
14 This gets rid of lintian warning "W: dpdk-doc: unusual-interpreter"
15
16 Forwarded: yes
17 Author: Christian Ehrhardt <christian.ehrhardt@canonical.com>
18 Last-Update: 2016-08-02
19
20 --- a/examples/ip_pipeline/config/diagram-generator.py
21 +++ b/examples/ip_pipeline/config/diagram-generator.py
22 @@ -1,4 +1,4 @@
23 -#! /usr/bin/python2
24 +#!/usr/bin/env python
25  
26  #   BSD LICENSE
27  #
28 --- a/examples/ip_pipeline/config/pipeline-to-core-mapping.py
29 +++ b/examples/ip_pipeline/config/pipeline-to-core-mapping.py
30 @@ -1,4 +1,4 @@
31 -#! /usr/bin/python2
32 +#!/usr/bin/env python
33  
34  #   BSD LICENSE
35  #