diff options
author | wiz <wiz> | 2001-01-29 14:40:26 +0000 |
---|---|---|
committer | wiz <wiz> | 2001-01-29 14:40:26 +0000 |
commit | 0a82e25a1031808a6f9caf1070e038bdb9388e46 (patch) | |
tree | d8815798749f7a54d34b88435f90790c3f699fe4 /mk | |
parent | b014140dd7417c999935a8b39b7dffe03998fba7 (diff) | |
download | pkgsrc-0a82e25a1031808a6f9caf1070e038bdb9388e46.tar.gz |
Don't do input redirection for sed if not necessary.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 3d234789d64..16c746819c5 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.654 2001/01/29 11:34:21 wiz Exp $ +# $NetBSD: bsd.pkg.mk,v 1.655 2001/01/29 14:40:26 wiz Exp $ # # This file is in the public domain. # @@ -1662,7 +1662,7 @@ real-su-install: ${MESSAGE} .endfor ${_PKG_SILENT}${_PKG_DEBUG} \ if [ -s ${WRKDIR}/.CONFLICTS ]; then \ - found=`cat ${WRKDIR}/.CONFLICTS | ${SED} -e s'|${PKG_DBDIR}/||g' | tr '\012' ' '`; \ + found=`${SED} -e s'|${PKG_DBDIR}/||g' ${WRKDIR}/.CONFLICTS | tr '\012' ' '`; \ ${ECHO_MSG} "${_PKGSRC_IN}> ${PKGNAME} conflicts with installed package(s): $$found found."; \ ${ECHO_MSG} "*** They install the same files into the same place."; \ ${ECHO_MSG} "*** Please remove $$found first with pkg_delete(1)."; \ @@ -1872,7 +1872,7 @@ do-shlib-handling: ${ECHO_MSG} >&2 "Ignoring $$so"; \ fi; \ ${SED} -e "s;^$$so$$;@comment No shared objects - &;" \ - <${PLIST} >${PLIST}.tmp && ${MV} ${PLIST}.tmp ${PLIST}; \ + ${PLIST} >${PLIST}.tmp && ${MV} ${PLIST}.tmp ${PLIST}; \ done; \ fi ; \ ;; \ @@ -2213,7 +2213,7 @@ update-dirlist: ${DDIR}: ${DLIST} ${_PKG_SILENT}${_PKG_DEBUG} \ - ddir=`${SED} 's:-[^-]*$$::' <${DLIST}`; \ + ddir=`${SED} 's:-[^-]*$$::' ${DLIST}`; \ ${ECHO} >${DDIR}; \ for pkg in $${ddir} ; do \ if ${PKG_INFO} -b $${pkg} >/dev/null 2>&1 ; then \ |