[freeside-commits] branch FREESIDE_4_BRANCH updated. c0fe809ef451d5d862dd1c8aea1b15ccf34863ba
Mitch Jackson
mitch at freeside.biz
Tue Feb 26 23:04:33 PST 2019
The branch, FREESIDE_4_BRANCH has been updated
via c0fe809ef451d5d862dd1c8aea1b15ccf34863ba (commit)
from 2d8ed14ea03c007dd041dd16cc2626959890dd48 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit c0fe809ef451d5d862dd1c8aea1b15ccf34863ba
Author: Mitch Jackson <mitch at freeside.biz>
Date: Tue Feb 26 20:18:47 2019 -0500
RT# 81961 Pod2Html remove hard-coded perl src dirs
diff --git a/FS/FS/Misc/Pod2Html.pm b/FS/FS/Misc/Pod2Html.pm
index 1dfca048c..47ac16f07 100644
--- a/FS/FS/Misc/Pod2Html.pm
+++ b/FS/FS/Misc/Pod2Html.pm
@@ -65,12 +65,11 @@ Generates Freeside-themed HTML docuemtnation from installed perl modules
sub fs_pod2html {
fs_pod2html_from_dirs(
shift,
- '/usr/local/share/perl/5.24.1',
+ grep( {-d} glob('/usr/local/share/perl/*')),
'/usr/local/bin',
$include_system_perl_modules ? (
'/usr/share/perl5',
- '/usr/share/perl/5.24',
- '/usr/share/perl/5.24.1',
+ grep {-d} glob('/usr/share/perl/*'),
) : (),
);
}
@@ -92,12 +91,9 @@ sub fs_pod2html_from_src {
'bin',
'FS',
'fs_selfservice/FS-SelfService',
- # '/usr/local/share/perl/5.24.1',
- # '/usr/local/bin',
$include_system_perl_modules ? (
'/usr/share/perl5',
- '/usr/share/perl/5.24',
- '/usr/share/perl/5.24.1',
+ grep {-d} glob('/usr/share/perl/*'),
) : (),
);
-----------------------------------------------------------------------
Summary of changes:
FS/FS/Misc/Pod2Html.pm | 10 +++-------
1 file changed, 3 insertions(+), 7 deletions(-)
More information about the freeside-commits
mailing list