Skip to content

Commit

Permalink
Merge branch '4.4-trunk' into 4.4.5-releng
Browse files Browse the repository at this point in the history
  • Loading branch information
sunnavy committed Sep 14, 2021
2 parents 4727a46 + 8d46147 commit edbeab1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/RT/Handle.pm
Original file line number Diff line number Diff line change
Expand Up @@ -468,6 +468,9 @@ sub InsertACL {
$path = $base_path;
}

# Get the full path since . is no longer in @INC after perl 5.24
$path = Cwd::abs_path($path);

local *acl;
do $path || return (0, "Couldn't load ACLs: " . $@);
my @acl = acl($dbh);
Expand Down Expand Up @@ -864,6 +867,8 @@ sub InsertData {

local $@;

# Get the full path since . is no longer in @INC after perl 5.24
$datafile = Cwd::abs_path($datafile);
$RT::Logger->debug("Going to load '$datafile' data file");

my $datafile_content = do {
Expand Down

0 comments on commit edbeab1

Please sign in to comment.