[Koha-bugs] [Bug 8742] Example uses perl 5.8 in Makefile.PL
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Sep 11 19:37:35 CEST 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8742
M. Tompsett <mtompset at hotmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #12079|0 |1
is obsolete| |
--- Comment #2 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 12143
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=12143&action=edit
Changed hardcoded path for a programmatic one.
Accidentally uploaded wrong version of the patch. Previous version didn't work
in the case that /usr/share/perl/ wasn't in the @INC. This one does.
Test case (before patch):
/usr/share/perl/5.8 is printed.
Test case (normally):
/usr/share/perl/ should be in @INC, that version should print.
Just hold down the enter key on 'perl Makefile.PL'
Test case (bizarre):
I purposefully inserted a @version=(); to force the push to execute. Because
the only case where perl wouldn't have /usr/share/perl/ in the @INC is some
strange OS with a non-standard perl configuration (like Windows ;) ). I then
removed @version=(); after.
Printing /usr/share/perl/5.10 is no worse than /usr/share/perl/5.8 in that
context. It's just the 5.10 is more accurate version wise.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list