Compress-Archive uses wrong directory separator

This commit is contained in:
Akash Mozumdar 2019-03-20 18:56:37 -04:00
parent e73dbed498
commit a40f814843

View File

@ -27,4 +27,3 @@ $targets = @(
mkdir -Force -Verbose $folder; mkdir -Force -Verbose $folder;
Remove-Item -Force -Recurse -Verbose "$($folder)/*"; Remove-Item -Force -Recurse -Verbose "$($folder)/*";
Copy-Item -Force -Recurse -Verbose -Destination $folder -Path $targets; Copy-Item -Force -Recurse -Verbose -Destination $folder -Path $targets;
Compress-Archive -Force -Verbose -DestinationPath "$($folder).zip" -Path $folder;