diff options
author | hubertf <hubertf@pkgsrc.org> | 1998-10-05 21:47:02 +0000 |
---|---|---|
committer | hubertf <hubertf@pkgsrc.org> | 1998-10-05 21:47:02 +0000 |
commit | 160670734f2d0ab73ae01e7f249de8402da49d01 (patch) | |
tree | 357db07281c985b1ee07f204ff4a7de2a0b4aed4 | |
parent | c8a278c9e3396d133cb8048d17c9e77f0dd5a18f (diff) | |
download | pkgsrc-160670734f2d0ab73ae01e7f249de8402da49d01.tar.gz |
reverse \" and | (thanks Al for helping to find this!), plus
add more quotes at another place.
-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 a1b8c7bf73d..535ec31b8a6 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.173 1998/10/05 00:34:44 hubertf Exp $ +# $NetBSD: bsd.pkg.mk,v 1.174 1998/10/05 21:47:02 hubertf Exp $ # # This file is in the public domain. # @@ -1547,7 +1547,7 @@ package-depends: .endfor .for dep in ${RUN_DEPENDS} @pkg="`${ECHO} \"${dep}\" | ${SED} -e 's/:.*//'`"; \ - dir="`${ECHO} \"${dep} |\" ${SED} -e 's/[^:]*://'`"; \ + dir="`${ECHO} \"${dep}\" | ${SED} -e 's/[^:]*://'`"; \ if [ -d $$dir ]; then \ (cd $$dir ; ${MAKE} package-name PACKAGE_NAME_TYPE=${PACKAGE_NAME_TYPE}); \ (cd $$dir ; ${MAKE} package-depends PACKAGE_NAME_TYPE=${PACKAGE_NAME_TYPE}); \ @@ -1600,8 +1600,8 @@ _DEPENDS_USE: .USE .if defined(DEPENDS_TMP) .if !defined(NO_DEPENDS) @for i in ${DEPENDS_TMP}; do \ - prog=`${ECHO} $$i | ${SED} -e 's/:.*//'`; \ - dir=`${ECHO} $$i | ${SED} -e 's/[^:]*://'`; \ + prog="`${ECHO} \"$$i\" | ${SED} -e 's/:.*//'`"; \ + dir="`${ECHO} \"$$i\" | ${SED} -e 's/[^:]*://'`"; \ if expr "$$dir" : '.*:' > /dev/null; then \ target=`${ECHO} $$dir | ${SED} -e 's/.*://'`; \ dir=`${ECHO} $$dir | ${SED} -e 's/:.*//'`; \ |