bin/gen-boost-headers: Don't stumble over "boost" in pathname
...like workdir/UnpackedTarball/liborcus/m4/boost.m4:#include <boost/version.hpp> which would then be mis-parsed by grep -o '\bboost.*\.\(h\|hpp\|ipp\)' to a HEADER of boost.m4:#include <boost/version.hpp instead of just boost/version.hpp (-h is a non-standard GNU grep extension, but so is the already used -r. An alternative fix would be to replace the later grep -o with something like grep -o '\bboost[^#]*\.\(h\|hpp\|ipp\)' instead.) Change-Id: I0b41ed520b2fed70e8982abc0e84a34804c02549
Showing
Please
register
or
sign in
to comment