summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--release/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/Makefile b/release/Makefile
index 95e3c70..0bea19d 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -778,9 +778,9 @@ cdrom.1:
@cp ${CD_DISC1}/floppies/boot.flp ${CD_DISC2}/floppies
.endif
.if !defined(NOPORTS)
- @-rm -rf /usr/ports/distfiles/*
@mkdir -p ${CD_DISC1}/ports && \
- tar --exclude CVS -czf ${CD_DISC1}/ports/ports.tgz -C /usr ports && \
+ tar --exclude CVS --exclude 'ports/distfiles/*' -czf \
+ ${CD_DISC1}/ports/ports.tgz -C /usr ports && \
cp ${.CURDIR}/scripts/ports-install.sh ${CD_DISC1}/ports/install.sh \
&& (cd ${CD_DISC1}/ports; md5 * > CHECKSUM.MD5)
.endif
OpenPOWER on IntegriCloud