forked from pool/apache2
OBS-URL: https://build.opensuse.org/package/show/Apache/apache2?expand=0&rev=cfcefd03ea0dedd79a1df42f3e5912c1
22 lines
648 B
Diff
22 lines
648 B
Diff
Index: support/apxs.in
|
|
===================================================================
|
|
--- support/apxs.in.orig
|
|
+++ support/apxs.in
|
|
@@ -83,7 +83,6 @@ sub Getopts {
|
|
my ($argumentative, @ARGV) = @_;
|
|
my $errs = 0;
|
|
local $_;
|
|
- local $[ = 0;
|
|
|
|
my @args = split / */, $argumentative;
|
|
while (@ARGV && ($_ = $ARGV[0]) =~ /^-(.)(.*)/) {
|
|
@@ -93,7 +92,7 @@ sub Getopts {
|
|
last;
|
|
}
|
|
my $pos = index($argumentative,$first);
|
|
- if ($pos >= $[) {
|
|
+ if ($pos >= 0) {
|
|
if ($pos < $#args && $args[$pos+1] eq ':') {
|
|
shift @ARGV;
|
|
if ($rest eq '') {
|