From 648589e6ab234cf95e5cf394bbee6ec4442959e9 Mon Sep 17 00:00:00 2001 From: Andrew Johnson Date: Fri, 17 Apr 2020 16:42:18 -0500 Subject: [PATCH] podToHtml: Add bootstrap search path for EPICS::PodHtml --- src/tools/podToHtml.pl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/tools/podToHtml.pl b/src/tools/podToHtml.pl index 21bf3a161..f661ad3f4 100644 --- a/src/tools/podToHtml.pl +++ b/src/tools/podToHtml.pl @@ -9,8 +9,12 @@ use strict; use warnings; +# To find the EPICS::PodHtml module used below we need to add our lib/perl to +# the lib search path. If the script is running from the src/tools directory +# before everything has been installed though, the search path must include +# our source directory (i.e. $Bin), so we add both here. use FindBin qw($Bin); -use lib "$Bin/../../lib/perl"; +use lib ("$Bin/../../lib/perl", $Bin); use Getopt::Std; use EPICS::PodHtml;