diff options
Diffstat (limited to 'meta/recipes-core/eglibc/eglibc-2.19/timezone-re-written-tzselect-as-posix-sh.patch')
-rw-r--r-- | meta/recipes-core/eglibc/eglibc-2.19/timezone-re-written-tzselect-as-posix-sh.patch | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/meta/recipes-core/eglibc/eglibc-2.19/timezone-re-written-tzselect-as-posix-sh.patch b/meta/recipes-core/eglibc/eglibc-2.19/timezone-re-written-tzselect-as-posix-sh.patch deleted file mode 100644 index 1477ea2cc5..0000000000 --- a/meta/recipes-core/eglibc/eglibc-2.19/timezone-re-written-tzselect-as-posix-sh.patch +++ /dev/null | |||
@@ -1,40 +0,0 @@ | |||
1 | timezone: re-written tzselect as posix sh | ||
2 | |||
3 | To avoid the bash dependency. | ||
4 | |||
5 | Upstream-Status: Pending | ||
6 | |||
7 | Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> | ||
8 | --- | ||
9 | timezone/Makefile | 2 +- | ||
10 | timezone/tzselect.ksh | 2 +- | ||
11 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
12 | |||
13 | diff --git a/timezone/Makefile b/timezone/Makefile | ||
14 | --- a/timezone/Makefile | ||
15 | +++ b/timezone/Makefile | ||
16 | @@ -113,7 +113,7 @@ $(testdata)/Asia/Tokyo: asia $(zic-deps) | ||
17 | |||
18 | |||
19 | $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make | ||
20 | - sed -e 's|/bin/bash|$(KSH)|g' \ | ||
21 | + sed -e 's|/bin/bash|/bin/sh|g' \ | ||
22 | -e '/TZDIR=/s|\$$(pwd)|$(zonedir)|' \ | ||
23 | -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \ | ||
24 | -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \ | ||
25 | diff --git a/timezone/tzselect.ksh b/timezone/tzselect.ksh | ||
26 | index 9d70691..25f45a8 100644 | ||
27 | --- a/timezone/tzselect.ksh | ||
28 | +++ b/timezone/tzselect.ksh | ||
29 | @@ -35,7 +35,7 @@ REPORT_BUGS_TO=tz@iana.org | ||
30 | |||
31 | # Specify default values for environment variables if they are unset. | ||
32 | : ${AWK=awk} | ||
33 | -: ${TZDIR=`pwd`} | ||
34 | +: ${TZDIR=$(pwd)} | ||
35 | |||
36 | # Check for awk Posix compliance. | ||
37 | ($AWK -v x=y 'BEGIN { exit 123 }') </dev/null >/dev/null 2>&1 | ||
38 | -- | ||
39 | 1.8.1.2 | ||
40 | |||