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 | 446886c30e25051b14bdfe1cd52d4c383bec02fe (patch) | |
tree | f8a8216391b08b0d20cbbe1632df8ec67339f4c7 /mk | |
parent | c8b67e625cd739d100c6ae70c72982b5596397f7 (diff) | |
download | pkgsrc-446886c30e25051b14bdfe1cd52d4c383bec02fe.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 |