diff options
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch')
-rw-r--r-- | meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch b/meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch new file mode 100644 index 0000000000..08c60a271b --- /dev/null +++ b/meta/recipes-core/glibc/glibc/0020-tzselect.ksh-Use-bin-sh-default-shell-interpreter.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From ef47e6199986c4951e681ed74f064042db1ae2e1 Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Wed, 15 Dec 2021 21:47:53 -0800 | ||
4 | Subject: [PATCH] tzselect.ksh: Use /bin/sh default shell interpreter | ||
5 | |||
6 | checkbashism reports no issues with tzselect.ksh, therefore using | ||
7 | /bin/sh instead of /bin/bash should be safe and portable across systems | ||
8 | which don't ship bash ( embedded systems ) | ||
9 | |||
10 | Upstream-Status: Pending | ||
11 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
12 | Cc: Adhemerval Zanella <adhemerval.zanella@linaro.org> | ||
13 | Cc: Paul Eggert <eggert@cs.ucla.edu> | ||
14 | --- | ||
15 | timezone/tzselect.ksh | 2 +- | ||
16 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
17 | |||
18 | diff --git a/timezone/tzselect.ksh b/timezone/tzselect.ksh | ||
19 | index 18fce27e24..cc08efb0fb 100755 | ||
20 | --- a/timezone/tzselect.ksh | ||
21 | +++ b/timezone/tzselect.ksh | ||
22 | @@ -1,4 +1,4 @@ | ||
23 | -#!/bin/bash | ||
24 | +#!/bin/sh | ||
25 | # Ask the user about the time zone, and output the resulting TZ value to stdout. | ||
26 | # Interact with the user via stderr and stdin. | ||
27 | |||