Commit Graph

3 Commits

Author SHA1 Message Date
Olli Helenius
4cb889f166 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.
2019-01-09 23:00:16 +02:00
Ryan Mulligan
295934adda bear: 2.2.1 -> 2.3.11 2018-02-05 21:13:54 -08:00
Pavel Chuprikov
6693e3b06c bear: ignore wrapper calls (#20070)
Fixes #20056
2016-11-03 15:27:03 +01:00