mirror of
https://github.com/zardus/ctf-tools
synced 2025-03-17 23:26:58 +00:00
fix gdb latest version regex not finding the latest version 8.1
This commit is contained in:
parent
cefcce33db
commit
985c884a96
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ find_latest_gdb_version() {
|
|||
git ls-remote --tags git://sourceware.org/git/binutils-gdb.git \
|
||||
| grep -v users \
|
||||
| grep -v '{}' \
|
||||
| grep -oh 'gdb-[0-9]\{1,2\}.[0-9]\{1,2\}.[0-9]\{1,2\}\(\.[0-9]\{1,2\}\)\?-release' \
|
||||
| grep -oh 'gdb-[0-9]\{1,2\}\.[0-9]\{1,2\}\(\.[0-9]\{1,2\}\(\.[0-9]\{1,2\}\)\?\)\?-release' \
|
||||
| sort --version-sort -r \
|
||||
| sed 's/gdb-//g' \
|
||||
| sed 's/-release//g' \
|
||||
|
|
Loading…
Add table
Reference in a new issue