fix parameters of unpack function

This commit is contained in:
Maxim Lobanov
2020-04-23 17:48:09 +03:00
parent 956838a10b
commit 10e3a2416f
2 changed files with 4 additions and 2 deletions

View File

@@ -25,5 +25,7 @@ function Create-SevenZipArchive {
$ArchiveTypeArgument = "-t${ArchiveType}"
7z a $ArchiveTypeArgument $ArchivePath "$SourceFolder\*.*" -r
Push-Location $SourceFolder
7z a $ArchiveTypeArgument $ArchivePath *.* -r
Pop-Location
}