diff options
| author | Olli Helenius <liff@iki.fi> | 2019-01-09 23:00:16 +0200 |
|---|---|---|
| committer | Olli Helenius <liff@iki.fi> | 2019-01-09 23:00:16 +0200 |
| commit | 4cb889f1660e243de3fdadcd6697e5e9676722a7 (patch) | |
| tree | 6ffef6750961c879a20c55670b0e86ff8386d943 /pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch | |
| parent | a6a8712146986bceec359589712e12057d25f1ea (diff) | |
bear: fix wrapper detection patch by checking result of find_executable
With the wrapper detection patch, if a build invokes an executable that cannot
be found in PATH by `find_executable`, bear will fail with an `AttributeError`
in `os.path.realpath`.
This can happen if the build invokes some project-local tool or command, like
`./build-something`.
Instead of calling using the result of `find_executable` directly, first check
whether the executable was found and fall back to original Bear behavior if
it was not.
Diffstat (limited to 'pkgs/development/python-modules/python-mapnik/python-mapnik_std_optional.patch')
0 files changed, 0 insertions, 0 deletions
