]> git.koha-community.org Git - koha.git/commit
Bug 8742 - Example uses perl 5.8 in Makefile.PL
authorMark Tompsett <mtompset@hotmail.com>
Tue, 11 Sep 2012 17:25:59 +0000 (01:25 +0800)
committerPaul Poulain <paul.poulain@biblibre.com>
Wed, 10 Oct 2012 15:03:25 +0000 (17:03 +0200)
commit63f8cb0225c9fcab75ce38209733c0f68c2a9035
treee84b2a5e71ed031235913eead880307f05031bea
parent081cb47d26202368a767fa51258ca6917b3724a4
Bug 8742 - Example uses perl 5.8 in Makefile.PL

Changed hardcoded path for a programmatic one. Basing it on:
  grep /\/usr\/share\/perl\//, @INC;
And doing a:
  push @version, ('/usr/share/perl/5.10') if !$version[0];
For a reasonable default otherwise. No more references to
  /usr/share/perl/5.8
hardcoded into the output.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
Makefile.PL