1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Don't use command like the following "tar --exclude ".*" -cf foo.bar ."

because `.' itself gets excluded and therefore no files are added into
arcive. This should unbreak package on -current with new tar.

Reported by:	kris
This commit is contained in:
Maxim Sobolev 2002-06-16 12:52:01 +00:00
parent 4b3b7f15da
commit 2c1ac82421
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=61365
2 changed files with 2 additions and 2 deletions

View File

@ -30,7 +30,7 @@ CONFIGURE_ARGS+= --enable-RAWDCF
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/ntp
${TAR} -C ${WRKSRC}/html --exclude '.*' -cf - . | \
${TAR} -C ${WRKSRC}/html -cf - . | \
${TAR} -C ${PREFIX}/share/doc/ntp --unlink -xf -
find ${PREFIX}/share/doc/ntp | xargs ${CHOWN} ${SHAREOWN}:${SHAREGRP}
find ${PREFIX}/share/doc/ntp -type f | xargs ${CHMOD} ${SHAREMODE}

View File

@ -30,7 +30,7 @@ CONFIGURE_ARGS+= --enable-RAWDCF
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/ntp
${TAR} -C ${WRKSRC}/html --exclude '.*' -cf - . | \
${TAR} -C ${WRKSRC}/html -cf - . | \
${TAR} -C ${PREFIX}/share/doc/ntp --unlink -xf -
find ${PREFIX}/share/doc/ntp | xargs ${CHOWN} ${SHAREOWN}:${SHAREGRP}
find ${PREFIX}/share/doc/ntp -type f | xargs ${CHMOD} ${SHAREMODE}