diff options
author | jlam <jlam@pkgsrc.org> | 2004-08-13 03:43:23 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-08-13 03:43:23 +0000 |
commit | 1b333888e6d55617b61f458d968d10040e482cce (patch) | |
tree | f8a8216391b08b0d20cbbe1632df8ec67339f4c7 /mk | |
parent | 0de99bd1ef038a9911a8875d83cbaf84a5d20e45 (diff) | |
download | pkgsrc-1b333888e6d55617b61f458d968d10040e482cce.tar.gz |
Add ${CAT} as the final pipeline command to BUILDLINK_FILES_CMD.<pkg> so
that the whole pipeline returns 0. This avoids subtle breakage when the
we use built-in software and there is actually no list of files passed as
input to the pipeline, and the final egrep returns non-zero.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/buildlink3/bsd.buildlink3.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/buildlink3/bsd.buildlink3.mk b/mk/buildlink3/bsd.buildlink3.mk index a2d0d559494..0c2b7b566df 100644 --- a/mk/buildlink3/bsd.buildlink3.mk +++ b/mk/buildlink3/bsd.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.buildlink3.mk,v 1.148 2004/08/13 00:48:05 dmcmahill Exp $ +# $NetBSD: bsd.buildlink3.mk,v 1.149 2004/08/13 03:43:23 jlam Exp $ # # An example package buildlink3.mk file: # @@ -583,7 +583,7 @@ BUILDLINK_CONTENTS_FILTER.${_pkg_}?= \ BUILDLINK_FILES_CMD.${_pkg_}?= \ ${_BLNK_PKG_INFO.${_pkg_}} -f ${BUILDLINK_PKGNAME.${_pkg_}} | \ ${SED} -n '/File:/s/^[ ]*File:[ ]*//p' | \ - ${BUILDLINK_CONTENTS_FILTER.${_pkg_}} + ${BUILDLINK_CONTENTS_FILTER.${_pkg_}} | ${CAT} # _BLNK_FILES_CMD.<pkg> combines BUILDLINK_FILES_CMD.<pkg> and # BUILDLINK_FILES.<pkg> into one command that outputs all of the files |