typo and actually use solution dir...

This commit is contained in:
Sean Kaim
2019-03-04 15:45:48 -05:00
parent a4b869a381
commit 6c792b208c
2 changed files with 4 additions and 4 deletions

View File

@@ -20,7 +20,7 @@ param (
$CertificatePassword,
[string]
$SolutiontDir
$SolutionDir
)
Write-Output "===== Beginning $($PSCmdlet.MyInvocation.MyCommand) ====="
@@ -35,7 +35,7 @@ if ($ConfigurationName -notmatch "Release") {
}
if(-Not ([string]::IsNullOrEmpty($Env:APPVEYOR_BUILD_FOLDER)) ) {
$CertificatePath = Join-Path -Path $TargetDir -ChildPath $CertificatePath
$CertificatePath = Join-Path -Path $SolutionDir -ChildPath $CertificatePath
}
if ($CertificatePath -eq "" -or !(Test-Path -Path $CertificatePath -PathType Leaf)) {

View File

@@ -14,7 +14,7 @@ param (
[string]
[Parameter(Mandatory=$true)]
$SolutiontDir
$SolutionDir
)
Write-Output "===== Beginning $($PSCmdlet.MyInvocation.MyCommand) ====="
@@ -23,7 +23,7 @@ Write-Output "===== Beginning $($PSCmdlet.MyInvocation.MyCommand) ====="
if ($ConfigurationName -match "Release") {
if(-Not ([string]::IsNullOrEmpty($Env:APPVEYOR_BUILD_FOLDER)) ) {
$CertificatePath = Join-Path -Path $TargetDir -ChildPath $CertificatePath
$CertificatePath = Join-Path -Path $SolutionDir -ChildPath $CertificatePath
}
if ($CertificatePath -eq "" -or !(Test-Path -Path $CertificatePath -PathType Leaf))