diff options
Diffstat (limited to 'meta/recipes-devtools/autoconf/autoconf/preferbash.patch')
-rw-r--r-- | meta/recipes-devtools/autoconf/autoconf/preferbash.patch | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/meta/recipes-devtools/autoconf/autoconf/preferbash.patch b/meta/recipes-devtools/autoconf/autoconf/preferbash.patch index cfb145a279..64fed1fd82 100644 --- a/meta/recipes-devtools/autoconf/autoconf/preferbash.patch +++ b/meta/recipes-devtools/autoconf/autoconf/preferbash.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 0aac3047cd7681d610b22d79501c297fa3433148 Mon Sep 17 00:00:00 2001 | 1 | From a877ff979349d3bf6f5f0d92fe4e741be0ad98b4 Mon Sep 17 00:00:00 2001 |
2 | From: Ross Burton <ross.burton@intel.com> | 2 | From: Ross Burton <ross.burton@intel.com> |
3 | Date: Thu, 12 Mar 2020 17:25:41 +0000 | 3 | Date: Thu, 12 Mar 2020 17:25:41 +0000 |
4 | Subject: [PATCH 2/7] m4sh: prefer bash over sh | 4 | Subject: [PATCH] m4sh: prefer bash over sh |
5 | 5 | ||
6 | _AS_DETECT_BETTER_SHELL looks for a good shell to use, and tries to look for | 6 | _AS_DETECT_BETTER_SHELL looks for a good shell to use, and tries to look for |
7 | 'sh' before 'bash'. Whilst for many systems sh is a symlink to bash, | 7 | 'sh' before 'bash'. Whilst for many systems sh is a symlink to bash, |
@@ -16,15 +16,16 @@ Change the search order to bash then sh, so that a known-good shell (bash) | |||
16 | is used if available over something which is merely POSIX compliant. | 16 | is used if available over something which is merely POSIX compliant. |
17 | 17 | ||
18 | Upstream-Status: Inappropriate [oe specific] | 18 | Upstream-Status: Inappropriate [oe specific] |
19 | |||
19 | --- | 20 | --- |
20 | lib/m4sugar/m4sh.m4 | 2 +- | 21 | lib/m4sugar/m4sh.m4 | 2 +- |
21 | 1 file changed, 1 insertion(+), 1 deletion(-) | 22 | 1 file changed, 1 insertion(+), 1 deletion(-) |
22 | 23 | ||
23 | diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4 | 24 | diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4 |
24 | index 9d543952..84ef84a9 100644 | 25 | index 368487f..cc70f51 100644 |
25 | --- a/lib/m4sugar/m4sh.m4 | 26 | --- a/lib/m4sugar/m4sh.m4 |
26 | +++ b/lib/m4sugar/m4sh.m4 | 27 | +++ b/lib/m4sugar/m4sh.m4 |
27 | @@ -230,7 +230,7 @@ dnl Remove any tests from suggested that are also required | 28 | @@ -233,7 +233,7 @@ dnl Remove any tests from suggested that are also required |
28 | [_AS_PATH_WALK([/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH], | 29 | [_AS_PATH_WALK([/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH], |
29 | [case $as_dir in @%:@( | 30 | [case $as_dir in @%:@( |
30 | /*) | 31 | /*) |
@@ -33,6 +34,3 @@ index 9d543952..84ef84a9 100644 | |||
33 | # Try only shells that exist, to save several forks. | 34 | # Try only shells that exist, to save several forks. |
34 | as_shell=$as_dir$as_base | 35 | as_shell=$as_dir$as_base |
35 | AS_IF([{ test -f "$as_shell" || test -f "$as_shell.exe"; } && | 36 | AS_IF([{ test -f "$as_shell" || test -f "$as_shell.exe"; } && |
36 | -- | ||
37 | 2.25.1 | ||
38 | |||