Skip to content

Commit

Permalink
recursively ignore files for packing
Browse files Browse the repository at this point in the history
  • Loading branch information
DRSDavidSoft authored Oct 15, 2022
1 parent a4c5b9d commit 4b8d669
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/utils.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ function Extract-Archive($source, $target) {
}

function Create-Archive($source, $target, $params) {
$command = "7z a -x@`"$source\packignore`" $params $target $source > `$null"
$command = "7z a -xr@`"$source\packignore`" $params $target $source > `$null"
Write-Verbose "Creating Archive from '$source' in '$target' with parameters '$params'"
Invoke-Expression $command
if ($lastexitcode -ne 0) {
Expand Down

0 comments on commit 4b8d669

Please sign in to comment.