X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=make%2Fconfigure.pm;h=a49ad13186f864995e2c5c36e649530b929df3cc;hb=c05f81cac83e80c7727594e3929e0709eccca689;hp=f096fcd900f64eb9418114661876021c422378ec;hpb=0e5081e87c1609d3c4a9855775ee562ceab485f6;p=user%2Fhenk%2Fcode%2Finspircd.git diff --git a/make/configure.pm b/make/configure.pm index f096fcd90..a49ad1318 100644 --- a/make/configure.pm +++ b/make/configure.pm @@ -2,7 +2,7 @@ # InspIRCd -- Internet Relay Chat Daemon # # Copyright (C) 2020 Nicole Kleinhoff -# Copyright (C) 2013-2020 Sadie Powell +# Copyright (C) 2013-2021 Sadie Powell # Copyright (C) 2012 Robby # Copyright (C) 2007-2008 Craig Edwards # Copyright (C) 2007 Dennis Friis @@ -65,8 +65,6 @@ sub __get_socketengines { return @socketengines; } -# TODO: when buildtool is done this can be mostly removed with -# the remainder being merged into parse_templates. sub __get_template_settings($$$) { # These are actually hash references @@ -237,7 +235,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(%) {