Skip to content
Snippets Groups Projects
Commit b42e8956 authored by Arnaud Degroote's avatar Arnaud Degroote
Browse files

[wip/hyper] Add a patch to fix a typo in test program option parsing

Bump PKGREVSION
parent f734cc4e
No related branches found
No related tags found
No related merge requests found
......@@ -4,6 +4,7 @@
DISTNAME= hyper-${VERSION}
VERSION= 0.13
PKGREVISION= 1
CATEGORIES= supervision
MASTER_SITES= ${MASTER_SITE_OPENROBOTS:=hyper/}
MASTER_REPOSITORY= ${MASTER_REPOSITORY_OPENROBOTS}hyper
......
SHA1 (hyper-0.13.tar.gz) = 72fa6149a7ecdecb8f72c8e8d4fc4dca7f13ffce
RMD160 (hyper-0.13.tar.gz) = 66aac0978389f97b145ffc041adb7178dae77a95
Size (hyper-0.13.tar.gz) = 207480 bytes
SHA1 (patch-aa) = 1a0b48d3a93bfe20cb965a80b306de83d6bf2c03
Fix a typo while checking argument of test programm
diff --git a/src/model/ability_test.cc b/src/model/ability_test.cc
index d42cd2d..08d8a8d 100644
--- src/model/ability_test.cc
+++ src/model/ability_test.cc
@@ -226,7 +226,7 @@ ability_test::correct_usage(int argc, char** argv)
arguments[0] == "make" or
arguments[0] == "ensure" or
(arguments[0] == "let" and argc == 7 and
- (arguments[4] != "make" or arguments[4] == "ensure")));
+ (arguments[4] == "make" or arguments[4] == "ensure")));
}
int
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment