Skip to content
Snippets Groups Projects
Commit d9162882 authored by L. Ellenbeck's avatar L. Ellenbeck
Browse files

Fix: Fixed Graphdeployer (coscine/issues#999)

parents 9a7ad186 b5852084
No related branches found
No related tags found
1 merge request!5Fix: Fixed Graphdeployer (coscine/issues#999)
......@@ -40,4 +40,8 @@ New-Item -ItemType Directory -Force -Path $path
Copy-Item "./$repositoryFolder/*" $path -Recurse;
# Twice remove, because of: https://stackoverflow.com/questions/7909167/how-to-quietly-remove-a-directory-with-content-in-powershell#comment10316056_7909195
If(Test-Path $repositoryFolder) { Remove-Item -LiteralPath $repositoryFolder -Force -Recurse }
If(Test-Path $repositoryFolder) { Remove-Item -LiteralPath $repositoryFolder -Force -Recurse }
Pop-Location
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment