summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 39d0cc53246..629f8b66f9a 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.223 1999/03/09 15:31:59 agc Exp $
+# $NetBSD: bsd.pkg.mk,v 1.224 1999/03/09 16:39:56 agc Exp $
#
# This file is in the public domain.
#
@@ -1019,7 +1019,9 @@ do-extract:
fi
.endif # WRKOBJDIR
.endif
- ${_PKG_SILENT}${_PKG_DEBUG}for file in ${EXTRACT_ONLY}; do \
+ ${_PKG_SILENT}${_PKG_DEBUG} \
+ for file in "" ${EXTRACT_ONLY}; do \
+ if [ "X$$file" = X"" ]; then continue; fi; \
(cd ${WRKDIR} && ${EXTRACT_CMD} ${EXTRACT_BEFORE_ARGS} ${_DISTDIR}/$$file ${EXTRACT_AFTER_ARGS}); \
done
.endif