From 9d7c990f62ba4f77503f1959699b146c8f307854 Mon Sep 17 00:00:00 2001 From: Julian Elischer Date: Thu, 22 Dec 2016 18:30:29 +0000 Subject: [PATCH] If you are going to be run individually to make a new timezone set then ensure the destination directories exist. Especially if you define OLDTIMEZONES because the mtree pass doesn't do it for you. MFC after: 1 week Sponsored by: Panzura --- share/zoneinfo/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/share/zoneinfo/Makefile b/share/zoneinfo/Makefile index 701a02a579f..32cee213006 100644 --- a/share/zoneinfo/Makefile +++ b/share/zoneinfo/Makefile @@ -85,6 +85,8 @@ zoneinfo: yearistype ${TDATA} beforeinstall: install-zoneinfo install-zoneinfo: + mkdir -p ${DESTDIR}/usr/share/zoneinfo + cd ${DESTDIR}/usr/share/zoneinfo; mkdir -p ${TZBUILDSUBDIRS} cd ${TZBUILDDIR} && \ find -s * -type f -print -exec ${INSTALL} ${TAG_ARGS} \ -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \