diff options
Diffstat (limited to 'meta/recipes-kernel/lttng/lttng-tools/utils-remove-bogus-interpreter.patch')
-rw-r--r-- | meta/recipes-kernel/lttng/lttng-tools/utils-remove-bogus-interpreter.patch | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/meta/recipes-kernel/lttng/lttng-tools/utils-remove-bogus-interpreter.patch b/meta/recipes-kernel/lttng/lttng-tools/utils-remove-bogus-interpreter.patch new file mode 100644 index 0000000000..f08198208d --- /dev/null +++ b/meta/recipes-kernel/lttng/lttng-tools/utils-remove-bogus-interpreter.patch | |||
@@ -0,0 +1,35 @@ | |||
1 | From 4545eae3bccb0f5a97509d1405a28000029a8d7d Mon Sep 17 00:00:00 2001 | ||
2 | From: Nathan Lynch <nathan_lynch@mentor.com> | ||
3 | Date: Mon, 9 Jan 2017 16:14:28 -0600 | ||
4 | Subject: [PATCH] lttng-tools: remove bogus interpreter line from utils shell | ||
5 | library | ||
6 | MIME-Version: 1.0 | ||
7 | Content-Type: text/plain; charset=UTF-8 | ||
8 | Content-Transfer-Encoding: 8bit | ||
9 | |||
10 | tests/utils/utils.sh is always sourced, never executed, and | ||
11 | /src/bin/bash is not a typical path for a shell interpreter. Just | ||
12 | delete it. | ||
13 | |||
14 | Signed-off-by: Nathan Lynch <nathan_lynch@mentor.com> | ||
15 | Signed-off-by: Jérémie Galarneau <jeremie.galarneau@efficios.com> | ||
16 | --- | ||
17 | |||
18 | Upstream-Status: Backport | ||
19 | |||
20 | tests/utils/utils.sh | 2 -- | ||
21 | 1 file changed, 2 deletions(-) | ||
22 | |||
23 | diff --git a/tests/utils/utils.sh b/tests/utils/utils.sh | ||
24 | index 05d88650e9f3..9db0640b70f3 100644 | ||
25 | --- a/tests/utils/utils.sh | ||
26 | +++ b/tests/utils/utils.sh | ||
27 | @@ -1,5 +1,3 @@ | ||
28 | -#!/src/bin/bash | ||
29 | -# | ||
30 | # Copyright (C) - 2012 David Goulet <dgoulet@efficios.com> | ||
31 | # | ||
32 | # This library is free software; you can redistribute it and/or modify it under | ||
33 | -- | ||
34 | 2.7.4 | ||
35 | |||