]> 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)
committerChris Cormack <chris@bigballofwax.co.nz>
Sun, 21 Apr 2013 00:46:48 +0000 (12:46 +1200)
commit8b7eff5a55888e80556628230362d1a4dcb6bcc4
tree3c438f1ed704d6e7f572170977b5e83f50f5b0ee
parent4e6faebc94a683b76fa096ebd3f899dd8676ca31
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: Chris Cormack <chris@bigballofwax.co.nz>
Makefile.PL