We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 669db4d commit 7003167Copy full SHA for 7003167
1 file changed
extension/BuildPhpExtension/private/Add-ExtensionDependencies.ps1
@@ -34,7 +34,7 @@ Function Add-ExtensionDependencies {
34
$url = "https://downloads.php.net/~windows/pecl/deps/$_"
35
Get-File -Url $url -OutFile $_
36
Expand-Archive -Path $_ -DestinationPath "..\deps" -Force
37
- if(Test-Path "..\deps\LICENSE") {
+ if((Test-Path "..\deps\LICENSE") -and (-not(Test-Path "..\deps\LICENSE.$library"))) {
38
Rename-Item -Path "..\deps\LICENSE" -NewName "LICENSE.$library"
39
}
40
if(Test-Path "..\deps\lib\ossl-modules") {
0 commit comments