diff options
-rw-r--r-- | usr.bin/pkg-config/pkg-config | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/pkg-config/pkg-config b/usr.bin/pkg-config/pkg-config index 59df1df8994..83ea4cf2c80 100644 --- a/usr.bin/pkg-config/pkg-config +++ b/usr.bin/pkg-config/pkg-config @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $OpenBSD: pkg-config,v 1.82 2014/07/10 08:20:13 jasper Exp $ +# $OpenBSD: pkg-config,v 1.83 2014/11/02 01:11:47 jca Exp $ # $CSK: pkgconfig.pl,v 1.39 2006/11/27 16:26:20 ckuethe Exp $ # Copyright (c) 2006 Chris Kuethe <ckuethe@openbsd.org> @@ -165,7 +165,7 @@ while (@ARGV){ my $p = shift @ARGV; my $op = undef; my $v = undef; - if (@ARGV >= 2 && $ARGV[0] =~ /^[<=>]+$/ && + if (@ARGV >= 2 && $ARGV[0] =~ /^[<=>!]+$/ && $ARGV[1] =~ /^[\d\.]+[\w\.]*$/) { $op = shift @ARGV; $v = shift @ARGV; |