Skip to content

Commit

Permalink
Accept any vs version for a dependency from a series file
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 committed Oct 16, 2024
1 parent 582fd65 commit eeac3a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/fetch-deps.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ $needs = @{}
$response = Invoke-WebRequest "https://downloads.php.net/~windows/php-sdk/deps/series/packages-$version-$vs-$arch-$stability.txt"
foreach ($line in $response.Content -split "`r?`n") {
foreach ($dep in $deps) {
if ($line -match "$dep-(.+)-$vs-$arch.zip") {
if ($line -match "$dep-(.+)-v[cs]\d\d-$arch\.zip") {
$needs.$dep = $matches[1]
}
}
Expand Down

0 comments on commit eeac3a7

Please sign in to comment.