summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch')
-rw-r--r--meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch16
1 files changed, 8 insertions, 8 deletions
diff --git a/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch b/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch
index e51b611f37..e5b508330c 100644
--- a/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch
+++ b/meta/recipes-core/glibc/glibc/0016-timezone-re-written-tzselect-as-posix-sh.patch
@@ -1,7 +1,7 @@
1From 3e8586eb3509e2f0d6dfb74be8f89a30b06b56e9 Mon Sep 17 00:00:00 2001 1From fdb5c9c88e3d1bc5ae6ef9ebcfcf560d3c42f0a6 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Wed, 18 Mar 2015 00:33:03 +0000 3Date: Wed, 18 Mar 2015 00:33:03 +0000
4Subject: [PATCH 16/24] timezone: re-written tzselect as posix sh 4Subject: [PATCH 16/25] timezone: re-written tzselect as posix sh
5 5
6To avoid the bash dependency. 6To avoid the bash dependency.
7 7
@@ -15,10 +15,10 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
15 2 files changed, 2 insertions(+), 2 deletions(-) 15 2 files changed, 2 insertions(+), 2 deletions(-)
16 16
17diff --git a/timezone/Makefile b/timezone/Makefile 17diff --git a/timezone/Makefile b/timezone/Makefile
18index 99566cb..b6e757e 100644 18index dee7568..66a50be 100644
19--- a/timezone/Makefile 19--- a/timezone/Makefile
20+++ b/timezone/Makefile 20+++ b/timezone/Makefile
21@@ -122,7 +122,7 @@ $(testdata)/XT%: testdata/XT% 21@@ -120,7 +120,7 @@ $(testdata)/XT%: testdata/XT%
22 cp $< $@ 22 cp $< $@
23 23
24 $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make 24 $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make
@@ -28,7 +28,7 @@ index 99566cb..b6e757e 100644
28 -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \ 28 -e '/TZVERSION=/s|see_Makefile|"$(version)"|' \
29 -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \ 29 -e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \
30diff --git a/timezone/tzselect.ksh b/timezone/tzselect.ksh 30diff --git a/timezone/tzselect.ksh b/timezone/tzselect.ksh
31index 9d70691..25f45a8 100755 31index 2c3b2f4..0c04a61 100755
32--- a/timezone/tzselect.ksh 32--- a/timezone/tzselect.ksh
33+++ b/timezone/tzselect.ksh 33+++ b/timezone/tzselect.ksh
34@@ -35,7 +35,7 @@ REPORT_BUGS_TO=tz@iana.org 34@@ -35,7 +35,7 @@ REPORT_BUGS_TO=tz@iana.org
@@ -38,8 +38,8 @@ index 9d70691..25f45a8 100755
38-: ${TZDIR=`pwd`} 38-: ${TZDIR=`pwd`}
39+: ${TZDIR=$(pwd)} 39+: ${TZDIR=$(pwd)}
40 40
41 # Check for awk Posix compliance. 41 # Output one argument as-is to standard output.
42 ($AWK -v x=y 'BEGIN { exit 123 }') </dev/null >/dev/null 2>&1 42 # Safer than 'echo', which can mishandle '\' or leading '-'.
43-- 43--
442.6.4 442.8.2
45 45