MFC r271047: Avoid ./ in zoneinfo entries in METALOG

Use of "find ." resulted in METALOG entries with an extra ./ -- e.g.,
./usr/share/zoneinfo/./America/Toronto.  Avoid this by using globbing
via "find *" instead.

Approved by:	re
Sponsored by:	DARPA, AFRL
This commit is contained in:
emaste 2014-09-08 15:40:55 +00:00
parent e7480b54c3
commit e594c0c895

View File

@ -79,7 +79,7 @@ zoneinfo: yearistype ${TDATA}
beforeinstall: beforeinstall:
cd ${TZBUILDDIR} && \ cd ${TZBUILDDIR} && \
find . -type f -print -exec ${INSTALL} \ find * -type f -print -exec ${INSTALL} \
-o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
\{} ${DESTDIR}/usr/share/zoneinfo/\{} \; \{} ${DESTDIR}/usr/share/zoneinfo/\{} \;
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \ ${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \