mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-03 08:11:08 +00:00
tzselect: stop requiring ksh
This script works fine under bash (which we already require), so drop the legacy ksh munging. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
parent
8da79b60ae
commit
73f79bb7e7
@ -1,3 +1,9 @@
|
|||||||
|
2014-02-08 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
|
* timezone/Makefile: Delete $(have-ksh) check.
|
||||||
|
($(objpfx)tzselect): Change $(KSH) to $(BASH).
|
||||||
|
* timezone/tzselect.ksh: Add +x mode bits.
|
||||||
|
|
||||||
2014-02-08 Mike Frysinger <vapier@gentoo.org>
|
2014-02-08 Mike Frysinger <vapier@gentoo.org>
|
||||||
|
|
||||||
* sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
|
* sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
|
||||||
|
@ -44,10 +44,8 @@ include ../Makeconfig # Get objpfx defined so we can use it below.
|
|||||||
|
|
||||||
CPPFLAGS-zic = -DNOT_IN_libc
|
CPPFLAGS-zic = -DNOT_IN_libc
|
||||||
|
|
||||||
ifeq ($(have-ksh),yes)
|
|
||||||
install-bin-script = tzselect
|
install-bin-script = tzselect
|
||||||
generated += tzselect
|
generated += tzselect
|
||||||
endif
|
|
||||||
|
|
||||||
include ../Rules
|
include ../Rules
|
||||||
|
|
||||||
@ -113,7 +111,7 @@ $(testdata)/Asia/Tokyo: asia $(zic-deps)
|
|||||||
|
|
||||||
|
|
||||||
$(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make
|
$(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make
|
||||||
sed -e 's|/bin/bash|$(KSH)|g' \
|
sed -e 's|/bin/bash|$(BASH)|' \
|
||||||
-e '/TZDIR=/s|\$$(pwd)|$(zonedir)|' \
|
-e '/TZDIR=/s|\$$(pwd)|$(zonedir)|' \
|
||||||
-e '/TZVERSION=/s|see_Makefile|"$(version)"|' \
|
-e '/TZVERSION=/s|see_Makefile|"$(version)"|' \
|
||||||
-e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \
|
-e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \
|
||||||
|
0
timezone/tzselect.ksh
Normal file → Executable file
0
timezone/tzselect.ksh
Normal file → Executable file
Loading…
Reference in New Issue
Block a user