Skip to contentSkip to conversation

Return appropriate error code from pkgconfig script

PATCH New Will Newton 2 participants 2 messages Apr 1, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Return appropriate error code from pkgconfig script

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

#1 lore raw

PATCH 1/1 Return appropriate error code from pkgconfig script

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Will" == Will Newton <[email protected]> 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.

Signature · 1 line
Bye, Peter Korsgaard