Skip to content

Commit

Permalink
swift(*): Fix install script
Browse files Browse the repository at this point in the history
Signed-off-by: Chawye Hsu <[email protected]>
  • Loading branch information
chawyehsu committed Aug 3, 2024
1 parent a72139f commit 3280109
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions bucket/swift-nightly.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
"Get-ChildItem \"$dir\\LocalApp\\Programs\\Swift\" | ForEach-Object {",
" Move-Item -Path $_ -Destination \"$dir\\\" -Force",
"}",
"Remove-Item \"$dir\\Platforms\\$productVersion\" | Out-Null",
"Remove-Item \"$dir\\Toolchains\\$($productVersion)+Asserts\" | Out-Null",
"Remove-Item \"$dir\\Redistributables\\$productVersion\" | Out-Null",
"Remove-Item \"$dir\\Platforms\\$productVersion\" -Recurse | Out-Null",
"Remove-Item \"$dir\\Toolchains\\$($productVersion)+Asserts\" -Recurse | Out-Null",
"Remove-Item \"$dir\\Redistributables\\$productVersion\" -Recurse | Out-Null",
"@(\"$fname\", 'extracted', 'LocalApp', 'SourceDir') | ForEach-Object {",
" Remove-Item \"$dir\\$_\" -Recurse -ErrorAction SilentlyContinue | Out-Null",
"}"
Expand Down
6 changes: 3 additions & 3 deletions bucket/swift-snapshot.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,9 @@
"Get-ChildItem \"$dir\\LocalApp\\Programs\\Swift\" | ForEach-Object {",
" Move-Item -Path $_ -Destination \"$dir\\\" -Force",
"}",
"Remove-Item \"$dir\\Platforms\\$productVersion\" | Out-Null",
"Remove-Item \"$dir\\Toolchains\\$($productVersion)+Asserts\" | Out-Null",
"Remove-Item \"$dir\\Redistributables\\$productVersion\" | Out-Null",
"Remove-Item \"$dir\\Platforms\\$productVersion\" -Recurse | Out-Null",
"Remove-Item \"$dir\\Toolchains\\$($productVersion)+Asserts\" -Recurse | Out-Null",
"Remove-Item \"$dir\\Redistributables\\$productVersion\" -Recurse | Out-Null",
"@(\"$fname\", 'extracted', 'LocalApp', 'SourceDir') | ForEach-Object {",
" Remove-Item \"$dir\\$_\" -Recurse -ErrorAction SilentlyContinue | Out-Null",
"}"
Expand Down

0 comments on commit 3280109

Please sign in to comment.