convertRelease: Restore $Bin to @INC

This is needed when convertRelease.pl gets run before the
EPICS::Path and EPICS::Release modules are installed, and
after 'make uninstall' has deleted the lib/perl directory.
This commit is contained in:
Andrew Johnson
2020-06-05 12:51:54 -05:00
parent eb060e7fcd
commit 545550dd9a
2 changed files with 2 additions and 6 deletions
+1 -5
View File
@@ -58,12 +58,8 @@ include $(CONFIG)/CONFIG_BASE_VERSION
include $(CONFIG)/os/CONFIG.$(EPICS_HOST_ARCH).Common
-include $(CONFIG)/os/CONFIG_SITE.$(EPICS_HOST_ARCH).Common
# Parse configure/RELEASE
# except when building Base itself, where this file is empty,
# and would error in src/tools/ anyway.
ifndef BASE_TOP
# Parse configure/RELEASE to find all upstream modules
RELEASE_TOPS := $(shell $(CONVERTRELEASE) -T $(TOP) releaseTops)
endif
ifdef T_A
+1 -1
View File
@@ -19,7 +19,7 @@ use Getopt::Std;
$Getopt::Std::STANDARD_HELP_VERSION = 1;
use FindBin qw($Bin);
use lib ("$Bin/../../lib/perl");
use lib ("$Bin/../../lib/perl", $Bin);
use EPICS::Path;
use EPICS::Release;