aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--java/jdk15/Makefile1
-rw-r--r--java/jdk16/Makefile1
2 files changed, 2 insertions, 0 deletions
diff --git a/java/jdk15/Makefile b/java/jdk15/Makefile
index deecc6d70ba3..47f74e0493f6 100644
--- a/java/jdk15/Makefile
+++ b/java/jdk15/Makefile
@@ -301,6 +301,7 @@ post-build:
@# Update time zones
@-${JDKIMAGEDIR}/bin/java -jar \
${WRKDIR}/tzupdater${TZUPDATE_TZVERSION}/tzupdater.jar -u
+ @-${RM} -rf ${JDKIMAGEDIR}/jre/lib/zi.tzdata*
.endif
do-install:
diff --git a/java/jdk16/Makefile b/java/jdk16/Makefile
index deecc6d70ba3..47f74e0493f6 100644
--- a/java/jdk16/Makefile
+++ b/java/jdk16/Makefile
@@ -301,6 +301,7 @@ post-build:
@# Update time zones
@-${JDKIMAGEDIR}/bin/java -jar \
${WRKDIR}/tzupdater${TZUPDATE_TZVERSION}/tzupdater.jar -u
+ @-${RM} -rf ${JDKIMAGEDIR}/jre/lib/zi.tzdata*
.endif
do-install: