mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 09:49:12 +08:00
use resolve path for input parameters
This commit is contained in:
parent
813fd6d82f
commit
2189fe9483
@ -35,6 +35,9 @@ Param(
|
||||
[string]$saveTo = "$PSScriptRoot\..\build"
|
||||
)
|
||||
|
||||
$cmderRoot = Resolve-Path $cmderRoot
|
||||
$saveTo = Resolve-Path $saveTo
|
||||
|
||||
. "$PSScriptRoot\utils.ps1"
|
||||
$ErrorActionPreference = "Stop"
|
||||
Ensure-Executable "7z"
|
||||
|
Loading…
Reference in New Issue
Block a user