@@ -3980,18 +3980,18 @@ if (-not $SkipBuild) {
39803980
39813981 $SDKROOT = Get-SwiftSDK Windows - Identifier WindowsExperimental
39823982
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 {
39843984 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
39863986 }
39873987
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 {
39893989 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
39913991 }
39923992
39933993 # 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" )) "
39953995 }
39963996
39973997 Install-SDK $WindowsSDKBuilds - Identifier WindowsExperimental
@@ -4036,14 +4036,14 @@ if (-not $SkipBuild) {
40364036
40374037 $SDKROOT = Get-SwiftSDK Android - Identifier AndroidExperimental
40384038
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 {
40404040 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
40424042 }
40434043
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 {
40454045 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
40474047 }
40484048 }
40494049
0 commit comments