[Buildroot] [PATCH] Return appropriate error code from pkgconfig script

Will Newton will.newton at gmail.com
Tue Apr 1 15:20:45 UTC 2008


Hi,

Currently the wrapper script for pkgconfig clobbers the return status
of pkgconfig. This is a problem for example when someone tries to run
"pkgconfig --exists". This patch should allow the correct return code
to be passed through. Note it uses the "pipefail" option that was
introduced with bash 3.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pkgconfig-filter.patch
Type: text/x-diff
Size: 494 bytes
Desc: not available
URL: <http://lists.buildroot.org/pipermail/buildroot/attachments/20080401/81cc16fe/attachment.patch>


More information about the buildroot mailing list