Subject: Re: CVS commit: pkgsrc/mk
To: Eric Haszlakiewicz <>
From: Roland Illig <>
List: pkgsrc-changes
Date: 11/17/2005 10:07:41
Eric Haszlakiewicz wrote:
> On Thu, Nov 17, 2005 at 01:19:29AM +0100, Roland Illig wrote:
>>The appended patch fixes that. Then the output looks like:
>>Updating pkgtools
>>===> Cleaning for pkg_install-20051114
>>===> Checking for vulnerabilities in pkg_install-20051114
>>===> *** The audit-packages package must be at least version 0.40
>>===> *** Please install pkgsrc/security/audit-packages package and run
>>===> *** '/home/bulk/pkg/sbin/download-vulnerability-list'.
>>*** Error code 1
> 	Well, that certainly makes the output look correct, but I don't
> understand why you don't see any output without the patch.  The line
> that calls check-vulnerable has a semicolon on the end:
>         vul=`${MAKE} ${MAKEFLAGS} check-vulnerable`;        \
> so the shell should keep processing the rest of the "command" that's been
> fed to it, no?


When invoked from make(1), the shell is always in "set -e" mode, that is 
the first command giving an exitcode != 0 stops the whole program.