Merge pull request #100964 from danieldk/fix-validate-pkg-config
validatePkgConfig: fix variable scope
This commit is contained in:
commit
7929891d57
1 changed files with 1 additions and 2 deletions
|
@ -3,9 +3,8 @@
|
|||
fixupOutputHooks+=(_validatePkgConfig)
|
||||
|
||||
_validatePkgConfig() {
|
||||
local bail=0
|
||||
for pc in $(find "$prefix" -name '*.pc'); do
|
||||
local bail=0
|
||||
|
||||
# Do not fail immediately. It's nice to see all errors when
|
||||
# there are multiple pkgconfig files.
|
||||
if ! pkg-config --validate "$pc"; then
|
||||
|
|
Loading…
Reference in a new issue