From 4b8d669d014274fa8244f0f7ce889b677af06463 Mon Sep 17 00:00:00 2001 From: David Refoua Date: Sat, 15 Oct 2022 03:41:07 +0330 Subject: [PATCH] recursively ignore files for packing --- scripts/utils.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/utils.ps1 b/scripts/utils.ps1 index e72e006..fae1948 100644 --- a/scripts/utils.ps1 +++ b/scripts/utils.ps1 @@ -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) {