summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 126cb388fd0..3d85fdf261a 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.902 2002/01/15 00:32:12 jlam Exp $
+# $NetBSD: bsd.pkg.mk,v 1.903 2002/01/15 09:02:09 seb Exp $
#
# This file is in the public domain.
#
@@ -1273,7 +1273,7 @@ SITES_${fetchfile:T}?= ${PATCH_SITES}
. endfor
. endif
. if !empty(_ALLFILES)
-_FETCH_ALLFILES= ${MKDIR} ${_DISTDIR};
+_FETCH_ALLFILES= ${TEST} -d ${_DISTDIR} || ${MKDIR} ${_DISTDIR};
_FETCH_ALLFILES+= cd ${_DISTDIR};
. for fetchfile in ${_ALLFILES}
_FETCH_ALLFILES+= \