Skip to content

Commit

Permalink
Update Formula/p/portaudio.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Sam Ford <[email protected]>
  • Loading branch information
dduugg and samford authored Nov 3, 2024
1 parent a4929cd commit a34cbaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Formula/p/portaudio.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class Portaudio < Formula
regex(/href=.*?pa[._-]stable[._-]v?(\d+)(?:[._-]\d+)?\.t/i)
strategy :page_match do |page, regex|
# Modify filename version (190700) to match formula version (19.7.0)
page.scan(regex).map { |match| match.first.scan(/\d{2}/).map(&:to_i).join(".") }
page.scan(regex).map { |match| match[0].scan(/\d{2}/).map(&:to_i).join(".") }
end
end

Expand Down

0 comments on commit a34cbaf

Please sign in to comment.