@@ -3980,18 +3980,18 @@ if (-not $SkipBuild) {
3980
3980
3981
3981
$SDKROOT = Get-SwiftSDK Windows - Identifier WindowsExperimental
3982
3982
3983
- Get-ChildItem " $ ( Get-SwiftSDK Windows - Identifier WindowsExperimental ) \usr\lib\swift\windows" - Filter " *.lib" - File - ErrorAction Ignore | ForEach-Object {
3983
+ Get-ChildItem " ${SDKROOT} \usr\lib\swift\windows" - Filter " *.lib" - File - ErrorAction Ignore | ForEach-Object {
3984
3984
Write-Host - BackgroundColor DarkRed - ForegroundColor White " $ ( $_.FullName ) is not nested in an architecture directory"
3985
- Move-Item $_.FullName " $SDKROOT \usr\lib\swift\windows\$ ( $Build.Architecture.LLVMName ) \" | Out-Null
3985
+ Move-Item $_.FullName " ${ SDKROOT} \usr\lib\swift\windows\$ ( $Build.Architecture.LLVMName ) \" | Out-Null
3986
3986
}
3987
3987
3988
- Get-ChildItem " $ ( Get-SwiftSDK Windows - Identifier WindowsExperimental ) \usr\lib\swift_static\windows" - Filter " *.lib" - File - ErrorAction Ignore | ForEach-Object {
3988
+ Get-ChildItem " ${SDKROOT} \usr\lib\swift_static\windows" - Filter " *.lib" - File - ErrorAction Ignore | ForEach-Object {
3989
3989
Write-Host - BackgroundColor DarkRed - ForegroundColor White " $ ( $_.FullName ) is not nested in an architecture directory"
3990
- Move-Item $_.FullName " $SDKROOT \usr\lib\swift_static\windows\$ ( $Build.Architecture.LLVMName ) \" | Out-Null
3990
+ Move-Item $_.FullName " ${ SDKROOT} \usr\lib\swift_static\windows\$ ( $Build.Architecture.LLVMName ) \" | Out-Null
3991
3991
}
3992
3992
3993
3993
# FIXME(compnerd) how do we select which SDK is meant to be re-distributed?
3994
- Copy-Directory " $ ( Get-SwiftSDK Windows - Identifier WindowsExperimental ) \usr\bin" " $ ( [IO.Path ]::Combine((Get-InstallDir $Build ), " Runtimes" , " $ProductVersion .experimental" , " usr" )) "
3994
+ Copy-Directory " ${SDKROOT} \usr\bin" " $ ( [IO.Path ]::Combine((Get-InstallDir $Build ), " Runtimes" , " $ProductVersion .experimental" , " usr" )) "
3995
3995
}
3996
3996
3997
3997
Install-SDK $WindowsSDKBuilds - Identifier WindowsExperimental
@@ -4036,14 +4036,14 @@ if (-not $SkipBuild) {
4036
4036
4037
4037
$SDKROOT = Get-SwiftSDK Android - Identifier AndroidExperimental
4038
4038
4039
- Get-ChildItem " $ ( Get-SwiftSDK Android - Identifier AndroidExperimental ) \usr\lib\swift\android" - File | Where-Object { $_.Name -match " .a$|.so$" } | ForEach-Object {
4039
+ Get-ChildItem " ${SDKROOT} \usr\lib\swift\android" - File | Where-Object { $_.Name -match " .a$|.so$" } | ForEach-Object {
4040
4040
Write-Host - BackgroundColor DarkRed - ForegroundColor White " $ ( $_.FullName ) is not nested in an architecture directory"
4041
- Move-Item $_.FullName " $SDKROOT \usr\lib\swift\android\$ ( $Build.Architecture.LLVMName ) \" | Out-Null
4041
+ Move-Item $_.FullName " ${ SDKROOT} \usr\lib\swift\android\$ ( $Build.Architecture.LLVMName ) \" | Out-Null
4042
4042
}
4043
4043
4044
- Get-ChildItem " $ ( Get-SwiftSDK Android - Identifier AndroidExperimental ) \usr\lib\swift_static\android" - File | Where-Object { $_.Name -match " .a$|.so$" } | ForEach-Object {
4044
+ Get-ChildItem " ${SDKROOT} \usr\lib\swift_static\android" - File | Where-Object { $_.Name -match " .a$|.so$" } | ForEach-Object {
4045
4045
Write-Host - BackgroundColor DarkRed - ForegroundColor White " $ ( $_.FullName ) is not nested in an architecture directory"
4046
- Move-Item $_.FullName " $SDKROOT \usr\lib\swift_static\android\$ ( $Build.Architecture.LLVMName ) \" | Out-Null
4046
+ Move-Item $_.FullName " ${ SDKROOT} \usr\lib\swift_static\android\$ ( $Build.Architecture.LLVMName ) \" | Out-Null
4047
4047
}
4048
4048
}
4049
4049
0 commit comments