From 9f5217a1713b4a8671425a2d8d2974626c23a737 Mon Sep 17 00:00:00 2001 From: hubertf Date: Tue, 1 Aug 2000 00:47:00 +0000 Subject: expr 0 + 0 returns an error - catch! --- mk/bsd.pkg.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mk') diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index c4ef210fafd..5de9604a161 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.526 2000/07/31 02:49:47 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.527 2000/08/01 00:47:00 hubertf Exp $ # # This file is in the public domain. # @@ -3000,7 +3000,7 @@ fake-pkg: ${PLIST} ${DESCR} size_this=`${MAKE} ${MAKEFLAGS} print-pkg-size-this`; \ size_depends=`${MAKE} ${MAKEFLAGS} print-pkg-size-depends`; \ ${ECHO} $$size_this >${SIZE_PKG_FILE}; \ - expr $$size_this + $$size_depends >${SIZE_ALL_FILE} + expr $$size_this + $$size_depends >${SIZE_ALL_FILE} || ${TRUE} ${_PKG_SILENT}${_PKG_DEBUG} \ if [ ! -d ${PKG_DBDIR}/${PKGNAME} ]; then \ ${ECHO_MSG} "${_PKGSRC_IN}> Registering installation for ${PKGNAME}"; \ -- cgit v1.2.3