Skip to content

Commit

Permalink
Merge branch '4.2/upgrade-acl-abs-path' into 4.2-trunk
Browse files Browse the repository at this point in the history
  • Loading branch information
cbrandtbuffalo committed Jan 8, 2021
2 parents 39bd2a8 + ac92dfe commit ece459f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 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

0 comments on commit ece459f

Please sign in to comment.