Skip to content

Commit

Permalink
Avoid ./ in zoneinfo entries in METALOG
Browse files Browse the repository at this point in the history
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.

Reviewed by:	brooks
Sponsored by:	DARPA, AFRL
Differential Revision: https://reviews.freebsd.org/D719
  • Loading branch information
emaste committed Sep 3, 2014
1 parent df63a5d commit e527e84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion share/zoneinfo/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ zoneinfo: yearistype ${TDATA}

beforeinstall:
cd ${TZBUILDDIR} && \
find . -type f -print -exec ${INSTALL} \
find * -type f -print -exec ${INSTALL} \
-o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
\{} ${DESTDIR}/usr/share/zoneinfo/\{} \;
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${NOBINMODE} \
Expand Down

0 comments on commit e527e84

Please sign in to comment.