diff options
Diffstat (limited to 'recipes-networking/openvswitch/files/python-make-remaining-scripts-use-usr-bin-env.patch')
| -rw-r--r-- | recipes-networking/openvswitch/files/python-make-remaining-scripts-use-usr-bin-env.patch | 113 |
1 files changed, 106 insertions, 7 deletions
diff --git a/recipes-networking/openvswitch/files/python-make-remaining-scripts-use-usr-bin-env.patch b/recipes-networking/openvswitch/files/python-make-remaining-scripts-use-usr-bin-env.patch index 6091930e..68f46ff5 100644 --- a/recipes-networking/openvswitch/files/python-make-remaining-scripts-use-usr-bin-env.patch +++ b/recipes-networking/openvswitch/files/python-make-remaining-scripts-use-usr-bin-env.patch | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | From 33769657e951da855b9258eb91fa9838373023ad Mon Sep 17 00:00:00 2001 | 1 | From 04ad1c3d9f47cfdf4ad9b5d685e953ec094326ff Mon Sep 17 00:00:00 2001 |
| 2 | From: Mark Asselstine <mark.asselstine@windriver.com> | 2 | From: Mark Asselstine <mark.asselstine@windriver.com> |
| 3 | Date: Fri, 13 Jan 2017 16:12:55 -0500 | 3 | Date: Fri, 13 Jan 2017 16:12:55 -0500 |
| 4 | Subject: [PATCH] python: make remaining scripts use /usr/bin/env | 4 | Subject: [PATCH] python: make remaining scripts use /usr/bin/env |
| @@ -13,11 +13,110 @@ make use of /usr/bin/env to increase the chances of finding python. | |||
| 13 | 13 | ||
| 14 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> | 14 | Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> |
| 15 | --- | 15 | --- |
| 16 | ovsdb/ovsdb-dot.in | 2 +- | 16 | build-aux/check-structs | 2 +- |
| 17 | ovsdb/ovsdb-idlc.in | 2 +- | 17 | build-aux/extract-ofp-actions | 2 +- |
| 18 | utilities/bugtool/ovs-bugtool.in | 2 +- | 18 | build-aux/extract-ofp-errors | 2 +- |
| 19 | 3 files changed, 3 insertions(+), 3 deletions(-) | 19 | build-aux/extract-ofp-fields | 2 +- |
| 20 | build-aux/extract-ofp-msgs | 2 +- | ||
| 21 | build-aux/xml2nroff | 2 +- | ||
| 22 | ovn/utilities/ovn-docker-overlay-driver | 2 +- | ||
| 23 | ovn/utilities/ovn-docker-underlay-driver | 2 +- | ||
| 24 | ovsdb/ovsdb-doc | 2 +- | ||
| 25 | ovsdb/ovsdb-dot.in | 2 +- | ||
| 26 | ovsdb/ovsdb-idlc.in | 2 +- | ||
| 27 | utilities/bugtool/ovs-bugtool.in | 2 +- | ||
| 28 | 12 files changed, 12 insertions(+), 12 deletions(-) | ||
| 20 | 29 | ||
| 30 | diff --git a/build-aux/check-structs b/build-aux/check-structs | ||
| 31 | index f79f235..c7b8730 100755 | ||
| 32 | --- a/build-aux/check-structs | ||
| 33 | +++ b/build-aux/check-structs | ||
| 34 | @@ -1,4 +1,4 @@ | ||
| 35 | -#! /usr/bin/python | ||
| 36 | +#! /usr/bin/env python | ||
| 37 | |||
| 38 | import os.path | ||
| 39 | import sys | ||
| 40 | diff --git a/build-aux/extract-ofp-actions b/build-aux/extract-ofp-actions | ||
| 41 | index 184447b..92ea18d 100755 | ||
| 42 | --- a/build-aux/extract-ofp-actions | ||
| 43 | +++ b/build-aux/extract-ofp-actions | ||
| 44 | @@ -1,4 +1,4 @@ | ||
| 45 | -#! /usr/bin/python | ||
| 46 | +#! /usr/bin/env python | ||
| 47 | |||
| 48 | import sys | ||
| 49 | import os.path | ||
| 50 | diff --git a/build-aux/extract-ofp-errors b/build-aux/extract-ofp-errors | ||
| 51 | index 9642593..11e6de7 100755 | ||
| 52 | --- a/build-aux/extract-ofp-errors | ||
| 53 | +++ b/build-aux/extract-ofp-errors | ||
| 54 | @@ -1,4 +1,4 @@ | ||
| 55 | -#! /usr/bin/python | ||
| 56 | +#! /usr/bin/env python | ||
| 57 | |||
| 58 | import sys | ||
| 59 | import os.path | ||
| 60 | diff --git a/build-aux/extract-ofp-fields b/build-aux/extract-ofp-fields | ||
| 61 | index 498b887..5d6bcec 100755 | ||
| 62 | --- a/build-aux/extract-ofp-fields | ||
| 63 | +++ b/build-aux/extract-ofp-fields | ||
| 64 | @@ -1,4 +1,4 @@ | ||
| 65 | -#! /usr/bin/python | ||
| 66 | +#! /usr/bin/env python | ||
| 67 | |||
| 68 | import getopt | ||
| 69 | import sys | ||
| 70 | diff --git a/build-aux/extract-ofp-msgs b/build-aux/extract-ofp-msgs | ||
| 71 | index 1813638..e9e3c25 100755 | ||
| 72 | --- a/build-aux/extract-ofp-msgs | ||
| 73 | +++ b/build-aux/extract-ofp-msgs | ||
| 74 | @@ -1,4 +1,4 @@ | ||
| 75 | -#! /usr/bin/python | ||
| 76 | +#! /usr/bin/env python | ||
| 77 | |||
| 78 | import sys | ||
| 79 | import os.path | ||
| 80 | diff --git a/build-aux/xml2nroff b/build-aux/xml2nroff | ||
| 81 | index bd4e879..9d81503 100755 | ||
| 82 | --- a/build-aux/xml2nroff | ||
| 83 | +++ b/build-aux/xml2nroff | ||
| 84 | @@ -1,4 +1,4 @@ | ||
| 85 | -#! /usr/bin/python | ||
| 86 | +#! /usr/bin/env python | ||
| 87 | |||
| 88 | # Copyright (c) 2010, 2011, 2012, 2013, 2014, 2015, 2016 Nicira, Inc. | ||
| 89 | # | ||
| 90 | diff --git a/ovn/utilities/ovn-docker-overlay-driver b/ovn/utilities/ovn-docker-overlay-driver | ||
| 91 | index 52de3db..c90f02b 100755 | ||
| 92 | --- a/ovn/utilities/ovn-docker-overlay-driver | ||
| 93 | +++ b/ovn/utilities/ovn-docker-overlay-driver | ||
| 94 | @@ -1,4 +1,4 @@ | ||
| 95 | -#! /usr/bin/python | ||
| 96 | +#! /usr/bin/env python | ||
| 97 | # Copyright (C) 2015 Nicira, Inc. | ||
| 98 | # | ||
| 99 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 100 | diff --git a/ovn/utilities/ovn-docker-underlay-driver b/ovn/utilities/ovn-docker-underlay-driver | ||
| 101 | index 2c9c4b6..89b804c 100755 | ||
| 102 | --- a/ovn/utilities/ovn-docker-underlay-driver | ||
| 103 | +++ b/ovn/utilities/ovn-docker-underlay-driver | ||
| 104 | @@ -1,4 +1,4 @@ | ||
| 105 | -#! /usr/bin/python | ||
| 106 | +#! /usr/bin/env python | ||
| 107 | # Copyright (C) 2015 Nicira, Inc. | ||
| 108 | # | ||
| 109 | # Licensed under the Apache License, Version 2.0 (the "License"); | ||
| 110 | diff --git a/ovsdb/ovsdb-doc b/ovsdb/ovsdb-doc | ||
| 111 | index 5cf26ee..f76f4bd 100755 | ||
| 112 | --- a/ovsdb/ovsdb-doc | ||
| 113 | +++ b/ovsdb/ovsdb-doc | ||
| 114 | @@ -1,4 +1,4 @@ | ||
| 115 | -#! /usr/bin/python | ||
| 116 | +#! /usr/bin/env python | ||
| 117 | |||
| 118 | # Copyright (c) 2010, 2011, 2012, 2013, 2014, 2015 Nicira, Inc. | ||
| 119 | # | ||
| 21 | diff --git a/ovsdb/ovsdb-dot.in b/ovsdb/ovsdb-dot.in | 120 | diff --git a/ovsdb/ovsdb-dot.in b/ovsdb/ovsdb-dot.in |
| 22 | index 134ce22..893c408 100755 | 121 | index 134ce22..893c408 100755 |
| 23 | --- a/ovsdb/ovsdb-dot.in | 122 | --- a/ovsdb/ovsdb-dot.in |
| @@ -29,7 +128,7 @@ index 134ce22..893c408 100755 | |||
| 29 | from datetime import date | 128 | from datetime import date |
| 30 | import ovs.db.error | 129 | import ovs.db.error |
| 31 | diff --git a/ovsdb/ovsdb-idlc.in b/ovsdb/ovsdb-idlc.in | 130 | diff --git a/ovsdb/ovsdb-idlc.in b/ovsdb/ovsdb-idlc.in |
| 32 | index cd4532e..dceb02f 100755 | 131 | index 721ab50..bfbcf23 100755 |
| 33 | --- a/ovsdb/ovsdb-idlc.in | 132 | --- a/ovsdb/ovsdb-idlc.in |
| 34 | +++ b/ovsdb/ovsdb-idlc.in | 133 | +++ b/ovsdb/ovsdb-idlc.in |
| 35 | @@ -1,4 +1,4 @@ | 134 | @@ -1,4 +1,4 @@ |
| @@ -39,7 +138,7 @@ index cd4532e..dceb02f 100755 | |||
| 39 | import getopt | 138 | import getopt |
| 40 | import os | 139 | import os |
| 41 | diff --git a/utilities/bugtool/ovs-bugtool.in b/utilities/bugtool/ovs-bugtool.in | 140 | diff --git a/utilities/bugtool/ovs-bugtool.in b/utilities/bugtool/ovs-bugtool.in |
| 42 | index bb771b0..152d171 100755 | 141 | index 963c50c..c84d7c2 100755 |
| 43 | --- a/utilities/bugtool/ovs-bugtool.in | 142 | --- a/utilities/bugtool/ovs-bugtool.in |
| 44 | +++ b/utilities/bugtool/ovs-bugtool.in | 143 | +++ b/utilities/bugtool/ovs-bugtool.in |
| 45 | @@ -1,4 +1,4 @@ | 144 | @@ -1,4 +1,4 @@ |
