[Bps-public-commit] Module-Install-RTx branch master updated. 0.42-1-gab493f2

BPS Git Server git at git.bestpractical.com
Wed Feb 9 22:02:21 UTC 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Module-Install-RTx".

The branch, master has been updated
       via  ab493f208a52e9e6cd666b5a8cb61f944e8ededb (commit)
      from  7f19f585c1537499a1a2bd0cf2994a336619131c (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 ab493f208a52e9e6cd666b5a8cb61f944e8ededb
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Feb 10 06:00:33 2022 +0800

    Fix "require" remove_files for perl 5.26+
    
    "." is not in @INC since perl 5.26.

diff --git a/lib/Module/Install/RTx.pm b/lib/Module/Install/RTx.pm
index e43d5f3..39af2a8 100644
--- a/lib/Module/Install/RTx.pm
+++ b/lib/Module/Install/RTx.pm
@@ -133,7 +133,7 @@ lexicons ::
     if( $extra_args->{'remove_files'} ){
         $self->include('Module::Install::RTx::Remove');
         our @remove_files;
-        eval { require "etc/upgrade/remove_files" }
+        eval { require "./etc/upgrade/remove_files" }
           or print "No remove file located, no files to remove\n";
         $remove_files = join ",", map {"q(\$(DESTDIR)$plugin_path/$name/$_)"} @remove_files;
     }

-----------------------------------------------------------------------

Summary of changes:
 lib/Module/Install/RTx.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
Module-Install-RTx


More information about the Bps-public-commit mailing list