summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2014-09-08 15:40:55 +0000
committeremaste <emaste@FreeBSD.org>2014-09-08 15:40:55 +0000
commite594c0c895230c4219e56da4378654be149df1a1 (patch)
treec0e893ce00d22b9f216508d110804df93570e71a
parente7480b54c3fb361354c8ed5cebda10eea16dbc0a (diff)
downloadFreeBSD-src-e594c0c895230c4219e56da4378654be149df1a1.zip
FreeBSD-src-e594c0c895230c4219e56da4378654be149df1a1.tar.gz
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
-rw-r--r--share/zoneinfo/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/zoneinfo/Makefile b/share/zoneinfo/Makefile
index bccea5e..1d84188e 100644
--- a/share/zoneinfo/Makefile
+++ b/share/zoneinfo/Makefile
@@ -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} \
OpenPOWER on IntegriCloud