When interpolating in strings passed to Formula#system, it should be
done in such a way that if any interpolated variables contain spaces,
they are either (a) passed as part of a list or (b) protected by quotes
if they are part of a long string (which is subject to shell expansion).
Otherwise, they will be split on the space when expanded by the shell
and passed as multiple arguments to whatever process is being executed.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This is an update for audiofile including a new option to enable Code Coverage
support using lcov. There will be a depends_on lcov => :build if the user enables
the new option. I also added a new option to check the build with make check and a
def test function. There was a compile time option to --enable-valgrind support,
a memory leak testing suite, but homebrewed valgrind fails it's own make check atm.
This update was tested on 10.6.8 x86_64 using 2335, gcc-4.2.1, and clang. It builds
both static and shared libs for your native architecture.
ClosesHomebrew/homebrew#7635.
Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>