Skip to content

Commit

Permalink
Match more version of gnat/gprbuild when using external versions
Browse files Browse the repository at this point in the history
  • Loading branch information
rowan-walshe committed Nov 23, 2023
1 parent d8df16e commit 6f19578
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion index/gn/gnat_external/gnat_external-external.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ maintainers-logins = ["mosteo"]

[[external]]
kind = "version-output"
version-regexp = "^GNAT ([\\d\\.]+).*|^GNAT Community ([\\d]{4}).*"
version-regexp = "^GNAT\\D*([\\d\\.]+).*"
version-command = ["gnat", "--version"]
provides = "gnat"

Expand Down
2 changes: 1 addition & 1 deletion index/gp/gprbuild/gprbuild-external.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ maintainers-logins = ["mosteo"]

[[external]]
kind = "version-output"
version-regexp = "^GPRBUILD ([\\d\\.-]+).*|^GPRBUILD Community ([\\d\\.-]+).*"
version-regexp = "^GPRBUILD\\D*([\\d\\.-]+).*"
version-command = ["gprbuild", "--version"]

# Neither macOS distribution (Homebrew, MacPorts) provides gprbuild.
Expand Down

0 comments on commit 6f19578

Please sign in to comment.