diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2014-11-02 13:28:51 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2014-11-02 13:28:51 +0000 |
commit | e13c6a604cc98d7a06444e75ecedcf873efab0ce (patch) | |
tree | 8a3f2fdbaddcaf57a7a8cf20d9c43907121b3a8a /usr.bin | |
parent | b59741394141c0cc4ca7ac029ed7ca89692dbf81 (diff) |
revert, i did NOT ok this diff which bears no proof of testing in a bulk or xenocara
Diffstat (limited to 'usr.bin')
-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 83ea4cf2c80..eecdd9cf443 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.83 2014/11/02 01:11:47 jca Exp $ +# $OpenBSD: pkg-config,v 1.84 2014/11/02 13:28:50 jasper 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; |