From 4a607018530d159b0b61b1cbeb1c294b8011a8c1 Mon Sep 17 00:00:00 2001 From: Jacob Champion Date: Wed, 27 Jan 2016 10:59:36 -0800 Subject: [PATCH 1/4] apxs: fix module name fallback Previously, the fallback logic for finding a module name (by parsing mod_xxx.so for the 'xxx' portion) always failed, since the basename had already been stripped of the extension that the fallback match searches for. This patch removes that portion of the fallback match. --- support/apxs.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/support/apxs.in b/support/apxs.in index ad1287f..08fd7cd 100644 --- a/support/apxs.in +++ b/support/apxs.in @@ -523,7 +523,7 @@ if ($opt_i or $opt_e) { } } if ($name eq '') { - if ($base =~ m|.*mod_([a-zA-Z0-9_]+)\..+|) { + if ($base =~ m|.*mod_([a-zA-Z0-9_]+)|) { $name = "$1"; $filename = $base; $filename =~ s|^[^/]+/||; -- 1.9.1