[freeside-commits] branch master updated. 00a38db12c1475aadd4489f50c79cef7aca58140
Mitch Jackson
mitch at freeside.biz
Tue Feb 26 22:51:19 PST 2019
The branch, master has been updated
via 00a38db12c1475aadd4489f50c79cef7aca58140 (commit)
from db257f5b5f5c9e56dbaba19914d3ff9f5be9a4e0 (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 00a38db12c1475aadd4489f50c79cef7aca58140
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