mirror of
https://github.com/apache/httpd.git
synced 2025-07-22 00:36:09 +00:00
apxs: Fix -i for some cases where -n is not used.
The $base was already stripped of suffix in typical case. Submitted by: Jan Pazdziora <jpazdziora redhat.com> Github: closes #359 git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1910841 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
2
changes-entries/apxs-i-wo-n.txt
Normal file
2
changes-entries/apxs-i-wo-n.txt
Normal file
@ -0,0 +1,2 @@
|
||||
*) apxs: Fix -i in some cases where -n is not used.
|
||||
[Jan Pazdziora <jpazdziora redhat.com>]
|
@ -538,7 +538,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|^[^/]+/||;
|
||||
|
Reference in New Issue
Block a user