Make copy idempotent
This commit is contained in:
parent
c9eeef1790
commit
57d256dbf5
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ if (!$env:DOTNET_TOOL_DIR)
|
|||
}
|
||||
else
|
||||
{
|
||||
cp -r $env:DOTNET_TOOL_DIR $env:DOTNET_INSTALL_DIR
|
||||
Copy-Item -Force -Recurse $env:DOTNET_TOOL_DIR $env:DOTNET_INSTALL_DIR
|
||||
}
|
||||
|
||||
# Put the stage0 on the path
|
||||
|
|
|
@ -80,7 +80,7 @@ if (!$env:DOTNET_TOOL_DIR)
|
|||
}
|
||||
else
|
||||
{
|
||||
cp -r $env:DOTNET_TOOL_DIR $env:DOTNET_INSTALL_DIR
|
||||
Copy-Item -Recurse -Force $env:DOTNET_TOOL_DIR $env:DOTNET_INSTALL_DIR
|
||||
}
|
||||
|
||||
# Put the stage0 on the path
|
||||
|
|
Loading…
Reference in a new issue