svn commit: r310426 - head/share/zoneinfo
Julian Elischer
julian at FreeBSD.org
Thu Dec 22 18:30:30 UTC 2016
Author: julian
Date: Thu Dec 22 18:30:29 2016
New Revision: 310426
URL: https://svnweb.freebsd.org/changeset/base/310426
Log:
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
Modified:
head/share/zoneinfo/Makefile
Modified: head/share/zoneinfo/Makefile
==============================================================================
--- head/share/zoneinfo/Makefile Thu Dec 22 18:26:21 2016 (r310425)
+++ head/share/zoneinfo/Makefile Thu Dec 22 18:30:29 2016 (r310426)
@@ -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} \
More information about the svn-src-all
mailing list