diff options
author | Sadie Powell <sadie@witchery.services> | 2021-02-28 18:46:56 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-02-28 18:46:56 +0000 |
commit | 0144c2363876a220af2148c43ba96ca1a1bd7a0e (patch) | |
tree | 41becb9eb8ac62cc285f21441ca306dc12fe3ee7 /make/configure.pm | |
parent | aa885c1661979b43ab26a682e46ab93306ff8015 (diff) |
Fix running configure on systems with old versions of Perl.
Closes #1852.
Diffstat (limited to 'make/configure.pm')
-rw-r--r-- | make/configure.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/make/configure.pm b/make/configure.pm index 223f4e58a..656c98097 100644 --- a/make/configure.pm +++ b/make/configure.pm @@ -237,7 +237,8 @@ sub module_expand($) { sub module_shrink($) { my $module = basename shift; - return $module =~ s/(?:^m_|\.cpp$)//gr; + $module =~ s/(?:^m_|\.cpp$)//g; + return $module; } sub write_configure_cache(%) { |