[parrot/parrot] d22c06: [tools] correcting `rm_f` command in `make_cover.p...

GitHub noreply at github.com
Mon Mar 17 14:13:42 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/parrot/parrot
  Commit: d22c064a354060d749a8aafd2b7881495130d33e
      https://github.com/parrot/parrot/commit/d22c064a354060d749a8aafd2b7881495130d33e
  Author: Paul Cochrane <paul at liekut.de>
  Date:   2014-03-17 (Mon, 17 Mar 2014)

  Changed paths:
    M tools/dev/make_cover.pl

  Log Message:
  -----------
  [tools] correcting `rm_f` command in `make_cover.pl`

When removing `.gcov` files, the configured `rm_f` command was used.  This
unfortunately used an unexpanded `make` variable `$(PERL)` and thus was
producing errors such as:

    sh: 1: PERL: not found
    sh: 1: -MExtUtils::Command: not found

The fix was to use the configured perl value and the `ExtUtils::Command`
option as would be used within a Makefile.  This change means that what the
code intends to do (delete the `.gcov` file) actually happens and removes
the error from `make cover` output.




More information about the parrot-commits mailing list