diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2018-04-16 08:44:13 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2018-04-16 08:44:13 +0200 |
commit | e2a1df3c8d1a72edce1a702fb4ee873fc558b0d5 (patch) | |
tree | a8eefabee05cc68d36252fdd70263d56828ecdca | |
parent | 3abdf5f6bc073fb8120d9938d3e76da329662845 (diff) | |
download | slackbuilder-e2a1df3c8d1a72edce1a702fb4ee873fc558b0d5.tar.gz slackbuilder-e2a1df3c8d1a72edce1a702fb4ee873fc558b0d5.tar.bz2 |
Fix -ge comparison
-rw-r--r-- | lib/SlackBuild/match.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/SlackBuild/match.pm b/lib/SlackBuild/match.pm index 9ddb9b9..07d909d 100644 --- a/lib/SlackBuild/match.pm +++ b/lib/SlackBuild/match.pm @@ -41,7 +41,7 @@ my %matchtab = ( -ge => sub { my ($a, $b) = @_; - (looks_like_number($a) && looks_like_number($b)) ? $a > $b : $a ge $b; + (looks_like_number($a) && looks_like_number($b)) ? $a >= $b : $a ge $b; }, '>=' => '-ge', |