mirror of
https://github.com/cmderdev/cmder.git
synced 2025-01-10 08:19:08 +08:00
more descriptive verbose comment for packing
This commit is contained in:
parent
1fbe2f7c2d
commit
813fd6d82f
@ -38,7 +38,7 @@ function Extract-Archive($source, $target) {
|
||||
|
||||
function Create-Archive($source, $target, $params) {
|
||||
$command = "7z a -x@`"$source\packignore`" $params $target $source > `$null"
|
||||
Write-Verbose "Running: $command"
|
||||
Write-Verbose "Creating Archive from '$source' to '$target' with parameters '$params'"
|
||||
Invoke-Expression $command
|
||||
if ($lastexitcode -ne 0) {
|
||||
Write-Error "Compressing $source failed"
|
||||
|
Loading…
Reference in New Issue
Block a user