Skip to content

Commit

Permalink
- fixed regex for md5sum, bzcat which failed tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Oseltamivir committed Oct 31, 2024
1 parent 8686d81 commit b37f582
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions script/get-generic-sys-util/_cm.json
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@
"env": {
"CM_SYS_UTIL_NAME": "libbz2_dev",
"CM_SYS_UTIL_VERSION_CMD": "bzcat --version",
"CM_SYS_UTIL_VERSION_RE": "Version ([A-Za-z0-9]+(\\.[A-Za-z0-9]+)+)"
"CM_SYS_UTIL_VERSION_RE": "\\b\\d+\\.\\d+(?:\\.\\d+)?\\b"
},
"state": {
"libbz2_dev": {
Expand Down Expand Up @@ -554,7 +554,7 @@
"env": {
"CM_SYS_UTIL_NAME": "md5sha1sum",
"CM_SYS_UTIL_VERSION_CMD": "md5sum --version",
"CM_SYS_UTIL_VERSION_RE": "md5sum \\(GNU coreutils\\) ([\\d.]+)"
"CM_SYS_UTIL_VERSION_RE": "\\b\\d+\\.\\d+(?:\\.\\d+)?\\b"
},
"state": {
"md5sha1sum": {
Expand Down

0 comments on commit b37f582

Please sign in to comment.