summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org.ua>2018-04-16 08:44:13 +0200
committerSergey Poznyakoff <gray@gnu.org.ua>2018-04-16 08:44:13 +0200
commite2a1df3c8d1a72edce1a702fb4ee873fc558b0d5 (patch)
treea8eefabee05cc68d36252fdd70263d56828ecdca
parent3abdf5f6bc073fb8120d9938d3e76da329662845 (diff)
downloadslackbuilder-e2a1df3c8d1a72edce1a702fb4ee873fc558b0d5.tar.gz
slackbuilder-e2a1df3c8d1a72edce1a702fb4ee873fc558b0d5.tar.bz2
Fix -ge comparison
-rw-r--r--lib/SlackBuild/match.pm2
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',

Return to:

Send suggestions and report system problems to the System administrator.