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
This commit is contained in:
Julian Elischer 2016-12-22 18:30:29 +00:00
parent 07b2e5c92a
commit 9d7c990f62

View File

@ -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} \