summaryrefslogtreecommitdiffstats
path: root/release/Makefile
diff options
context:
space:
mode:
authormatusita <matusita@FreeBSD.org>2002-02-12 16:56:06 +0000
committermatusita <matusita@FreeBSD.org>2002-02-12 16:56:06 +0000
commit9a70288cc2bc3b188dd262ed6bc1ca68d45d146b (patch)
tree54f00e6e79d402d7f0cb496438c5acda3ab95b30 /release/Makefile
parent5eb6e3401041b59125f797a03291b0487b8f5422 (diff)
downloadFreeBSD-src-9a70288cc2bc3b188dd262ed6bc1ca68d45d146b.zip
FreeBSD-src-9a70288cc2bc3b188dd262ed6bc1ca68d45d146b.tar.gz
Mkdir ${CHROOTDIR}/usr/ports/distfiles if RELEASEDISTFILES is not set.
We ensure that 'ports.tgz' tarball should have ports/distfiles directory. At first, ${CHROOTDIR}/usr/ports is empty (rm -rf ports), then extract ports files from CVS repository. Then if RELEASEDISTFILES is defined, ${CHROOTDIR}/usr/ports/distfiles directory is created by cp(1). However, if you don't specify RELEASEDISTFILES, there is no chance to create ${CHROOTDIR}/usr/ports/distfiles directory. Submitted by: {ushi,tora}.jp.FreeBSD.org MFC after: 5 days
Diffstat (limited to 'release/Makefile')
-rw-r--r--release/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/release/Makefile b/release/Makefile
index 15e9756..49f8b16 100644
--- a/release/Makefile
+++ b/release/Makefile
@@ -305,6 +305,8 @@ rerelease release:
.endif
if [ -d ${RELEASEDISTFILES}/ ]; then \
cp -rp ${RELEASEDISTFILES} ${CHROOTDIR}/usr/ports/distfiles; \
+ else \
+ mkdir -p ${CHROOTDIR}/usr/ports/distfiles \
fi
.endif
.endif
OpenPOWER on IntegriCloud