diff options
Diffstat (limited to 'timezone/Makefile')
-rw-r--r-- | timezone/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/timezone/Makefile b/timezone/Makefile index 9e55a6ac54..49d3b9d472 100644 --- a/timezone/Makefile +++ b/timezone/Makefile @@ -106,7 +106,9 @@ $(testdata)/Asia/Tokyo: asia $(zic-deps) $(objpfx)tzselect: tzselect.ksh $(common-objpfx)config.make - sed -e 's%@KSH@%$(KSH)%g' \ - -e 's%@TZDIR@%$(zonedir)%g' < $< > $@.new + sed -e 's|/bin/bash|$(KSH)|g' \ + -e '/TZDIR=/s|\$$(pwd)|$(zonedir)|' \ + -e '/TZVERSION=/s|see_Makefile|"$(PKGVERSION)$(version)"|' \ + < $< > $@.new chmod 555 $@.new mv -f $@.new $@ |