Date: Mon, 22 Sep 2014 15:22:59 +0000 (UTC) From: Bryan Drewery <bdrewery@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r368960 - head/Mk Message-ID: <201409221522.s8MFMxTR051352@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bdrewery Date: Mon Sep 22 15:22:58 2014 New Revision: 368960 URL: http://svnweb.freebsd.org/changeset/ports/368960 QAT: https://qat.redports.org/buildarchive/r368960/ Log: - Fix check-vulerable exiting without printing message since pkg-1.3.4 fixed 'pkg audit' to return non-zero. With hat: portmgr Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Mon Sep 22 15:15:27 2014 (r368959) +++ head/Mk/bsd.port.mk Mon Sep 22 15:22:58 2014 (r368960) @@ -3141,7 +3141,7 @@ check-vulnerable: .if !defined(DISABLE_VULNERABILITIES) && !defined(PACKAGE_BUILDING) @if [ -f "${AUDITFILE}" ]; then \ if [ -x "${PKG_BIN}" ]; then \ - vlist=`${PKG_BIN} audit "${PKGNAME}"`; \ + vlist=`${PKG_BIN} audit "${PKGNAME}" || :`; \ if [ "$${vlist}" = "0 problem(s) in the installed packages found." ]; then \ vlist=""; \ fi; \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201409221522.s8MFMxTR051352>