mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-04 02:09:44 +02:00
GP-5703: Only require minor versions to match in auto-install.
This commit is contained in:
parent
f30aee4535
commit
deadfe59a1
6 changed files with 10 additions and 10 deletions
|
@ -29,7 +29,7 @@ find-app-properties() {
|
|||
}
|
||||
|
||||
get-ghidra-version() {
|
||||
local app_ver_re='application\.version=(.*)'
|
||||
local app_ver_re='application\.version=([0-9]*\.[0-9]*)\.?.*'
|
||||
local props=$(find-app-properties)
|
||||
local version=$(cat "$props" | while read line; do
|
||||
if [[ $line =~ $app_ver_re ]]; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue