summaryrefslogtreecommitdiff
path: root/mk/bsd.pkg.mk
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1998-10-22 08:53:22 +0000
committeragc <agc@pkgsrc.org>1998-10-22 08:53:22 +0000
commit8df14057a47098044876c1bf005fc6ad3108bfde (patch)
treea4cf904ec2a9d8596e6b2510378e5b9378063ca1 /mk/bsd.pkg.mk
parente27232f82b60406f0d7c123f7944d356c484c6c5 (diff)
downloadpkgsrc-8df14057a47098044876c1bf005fc6ad3108bfde.tar.gz
Patch from Hubert Feyrer - make sure the directory entry is a file before
using it to make the +BUILD_VERSION file.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r--mk/bsd.pkg.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index cc94a2c4032..663802a398c 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.183 1998/10/20 23:21:18 hubertf Exp $
+# $NetBSD: bsd.pkg.mk,v 1.184 1998/10/22 08:53:22 agc Exp $
#
# This file is in the public domain.
#
@@ -1945,7 +1945,12 @@ fake-pkg: ${PLIST} ${DESCR}
${CP} ${MESSAGE_FILE} ${PKG_DBDIR}/${PKGNAME}/+DISPLAY; \
fi; \
fi; \
- files="${.CURDIR}/Makefile ${FILESDIR}/* ${PKGDIR}/*"; \
+ files=""; \
+ for f in ${.CURDIR}/Makefile ${FILESDIR}/* ${PKGDIR}/*; do \
+ if [ -f $$f ]; then \
+ files="$$files $$f"; \
+ fi; \
+ done; \
if [ -d ${PATCHDIR} ]; then \
for f in ${PATCHDIR}/patch-*; do \
case $$f in \