diff options
author | julian <julian@FreeBSD.org> | 2017-01-27 09:07:11 +0000 |
---|---|---|
committer | julian <julian@FreeBSD.org> | 2017-01-27 09:07:11 +0000 |
commit | 55d5874a2bd9ec6222fc79f59d3c164f81e117b2 (patch) | |
tree | 4e43a0c425395e8a9971e1bcdc8bc67777f43983 | |
parent | 5ab2bce8a97832561adc5283e9ac98ec19685730 (diff) | |
download | FreeBSD-src-55d5874a2bd9ec6222fc79f59d3c164f81e117b2.zip FreeBSD-src-55d5874a2bd9ec6222fc79f59d3c164f81e117b2.tar.gz |
MFH: r310426
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
-rw-r--r-- | share/zoneinfo/Makefile | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/zoneinfo/Makefile b/share/zoneinfo/Makefile index 98e0266..a3c81b9 100644 --- a/share/zoneinfo/Makefile +++ b/share/zoneinfo/Makefile @@ -82,6 +82,8 @@ zoneinfo: yearistype ${TDATA} ${LEAPFILE} -y ${.OBJDIR}/yearistype ${TZFILES} beforeinstall: + mkdir -p ${DESTDIR}/usr/share/zoneinfo + cd ${DESTDIR}/usr/share/zoneinfo; mkdir -p ${TZBUILDSUBDIRS} cd ${TZBUILDDIR} && \ find -s * -type f -print -exec ${INSTALL} \ -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ |