diff options
author | hubertf <hubertf@pkgsrc.org> | 1998-07-07 15:08:10 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1998-07-07 15:08:10 +0000 |
commit | bb4fb867354e8ea5ac9789bf3bd243b43ded68a7 (patch) | |
tree | 5bb58c9c905057418a5f612131613cf7d5850045 /mk | |
parent | 89387e89fc4059944b6e50982095dacbb8c5d66f (diff) | |
download | pkgsrc-bb4fb867354e8ea5ac9789bf3bd243b43ded68a7.tar.gz |
Fix check if we're doing a package or a category (via PR 5687 by
Tim Rightnour).
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.subdir.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/bsd.pkg.subdir.mk b/mk/bsd.pkg.subdir.mk index c4e71d46935..ceebdd5d63e 100644 --- a/mk/bsd.pkg.subdir.mk +++ b/mk/bsd.pkg.subdir.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.subdir.mk,v 1.17 1998/06/17 21:01:09 hubertf Exp $ +# $NetBSD: bsd.pkg.subdir.mk,v 1.18 1998/07/07 15:08:10 hubertf Exp $ # Derived from: FreeBSD Id: bsd.port.subdir.mk,v 1.19 1997/03/09 23:10:56 wosch Exp # from: @(#)bsd.subdir.mk 5.9 (Berkeley) 2/1/91 # @@ -66,7 +66,7 @@ _SUBDIRUSE: .USE fi; \ if [ "$$OK" = "" ]; then \ cd ${.CURDIR}/$${edir}; \ - if [ -z "${_THISDIR_}" ]; then \ + if [ -z "${_THISDIR_}" -a ! -d "files" ]; then \ ${ECHO_MSG} "===> category ${_THISDIR_}$${edir}"; \ ${MAKE} ${.TARGET:realinstall=install} \ "_THISDIR_=${_THISDIR_}$${edir}/"; \ |