David Krause [Thu, Nov 03, 2005 at 10:36:51AM -0600] wrote: >I send a patch to fix this a while back but received no comments. The >wrong exit code is being tested. > Go ahead, commit. It works.
Bernd >Index: infrastructure/mk/bsd.port.mk >=================================================================== >RCS file: /cvs/ports/infrastructure/mk/bsd.port.mk,v >retrieving revision 1.719 >diff -u -p -r1.719 bsd.port.mk >--- infrastructure/mk/bsd.port.mk 10 Oct 2005 19:20:00 -0000 1.719 >+++ infrastructure/mk/bsd.port.mk 3 Nov 2005 16:34:57 -0000 >@@ -2067,7 +2067,7 @@ ${_F}: > else \ > if grep -q "SIZE ($$file)" > ${CHECKSUM_FILE}; then \ > ${ECHO_MSG} ">> Size does not > match for ${_F}"; \ >- test `wc -c "$$file" >2>/dev/null|awk '{print $$1}' || echo 0` -lt 30000 && rm -f $$file; \ >+ test `wc -c "$$file" >2>/dev/null || echo 0 | awk '{print $$1}'` -lt 30000 && rm -f $$file; \ > else \ > ${ECHO_MSG} ">> No size > recorded for ${_F}"; \ > exit 0; \ > >