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:
Mike Frysinger 2014-01-25 00:16:49 -05:00
parent 8da79b60ae
commit 73f79bb7e7
3 changed files with 7 additions and 3 deletions

View File

@ -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>
* sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.

View File

@ -44,10 +44,8 @@ include ../Makeconfig # Get objpfx defined so we can use it below.
CPPFLAGS-zic = -DNOT_IN_libc
ifeq ($(have-ksh),yes)
install-bin-script = tzselect
generated += tzselect
endif
include ../Rules
@ -113,7 +111,7 @@ $(testdata)/Asia/Tokyo: asia $(zic-deps)
$(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 '/TZVERSION=/s|see_Makefile|"$(version)"|' \
-e '/PKGVERSION=/s|=.*|="$(PKGVERSION)"|' \

0
timezone/tzselect.ksh Normal file → Executable file
View File