* [Buildroot] [PATCH] Return appropriate error code from pkgconfig script
@ 2008-04-01 15:20 Will Newton
2008-04-01 15:29 ` Peter Korsgaard
0 siblings, 1 reply; 2+ messages in thread
From: Will Newton @ 2008-04-01 15:20 UTC (permalink / raw)
To: buildroot
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: 493 bytes
Desc: not available
Url : http://busybox.net/lists/buildroot/attachments/20080401/81cc16fe/attachment-0001.patch
^ permalink raw reply [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH] Return appropriate error code from pkgconfig script
2008-04-01 15:20 [Buildroot] [PATCH] Return appropriate error code from pkgconfig script Will Newton
@ 2008-04-01 15:29 ` Peter Korsgaard
0 siblings, 0 replies; 2+ messages in thread
From: Peter Korsgaard @ 2008-04-01 15:29 UTC (permalink / raw)
To: buildroot
>>>>> "Will" == Will Newton <will.newton@gmail.com> writes:
Will> Hi,
Will> Currently the wrapper script for pkgconfig clobbers the return status
Will> of pkgconfig. This is a problem for example when someone tries to run
Will> "pkgconfig --exists". This patch should allow the correct return code
Will> to be passed through. Note it uses the "pipefail" option that was
Will> introduced with bash 3.
Thanks - Fixed in r21612.
--
Bye, Peter Korsgaard
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2008-04-01 15:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-01 15:20 [Buildroot] [PATCH] Return appropriate error code from pkgconfig script Will Newton
2008-04-01 15:29 ` Peter Korsgaard
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox