Removing empty lines for FlyCheck messages was added by
4266b8c7a3. We had somecases where
Flycheck messages start with an empty line instead of `FLYCHECK_BEGIN
ERROR` in Windows7 + Python2 env. I think it's because of the different
newline character problem (LF, LFCR). My solution was to remove all
empty lines, which was too much. Now, I think striping should be enoguh.
fix#512
Ubuntu-12/14 has two packages which provide a binary file `ninja`:
1. ninja : http://forkbomb.org/ninja/
2. ninja-build : http://martine.github.io/ninja/
We had a case where a user has ninja installed instead of ninja-build,
then linja confuses that it has ninja-build and tries to use it.
This commit excludes a directory whose name includes "sbin" in finding a
system program. As a result, `which` will not find ninja[1] which
resides at /usr/sbin.