Correct case of $PSScriptRoot special variable
This commit is contained in:
parent
679702ba05
commit
62aee9356a
|
@ -498,7 +498,7 @@ Fix steps:
|
|||
$psVersion = $ReleaseTag
|
||||
}
|
||||
else {
|
||||
$psVersion = git --git-dir="$PSSCriptRoot/.git" describe
|
||||
$psVersion = git --git-dir="$PSScriptRoot/.git" describe
|
||||
}
|
||||
|
||||
if ($Environment.IsRedHatFamily -or $Environment.IsDebian) {
|
||||
|
|
|
@ -72,7 +72,7 @@ function Get-LinuxContainer
|
|||
{
|
||||
Write-Output @{
|
||||
Name = $os
|
||||
Path = "$psscriptroot/../release/$os"
|
||||
Path = "$PSScriptRoot/../release/$os"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -84,7 +84,7 @@ function Get-WindowsContainer
|
|||
{
|
||||
Write-Output @{
|
||||
Name = $os
|
||||
Path = "$psscriptroot/../release/$os"
|
||||
Path = "$PSScriptRoot/../release/$os"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License.
|
||||
. "$psscriptroot/TestRunner.ps1"
|
||||
. "$PSScriptRoot/TestRunner.ps1"
|
||||
|
||||
$assemblyName = "Microsoft.Management.Infrastructure.CimCmdlets"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License.
|
||||
. "$psscriptroot/TestRunner.ps1"
|
||||
. "$PSScriptRoot/TestRunner.ps1"
|
||||
|
||||
$AssemblyName = "Microsoft.PowerShell.ConsoleHost"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License.
|
||||
. "$psscriptroot/TestRunner.ps1"
|
||||
. "$PSScriptRoot/TestRunner.ps1"
|
||||
|
||||
$assemblyName = "Microsoft.PowerShell.CoreCLR.Eventing"
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License.
|
||||
. "$psscriptroot/TestRunner.ps1"
|
||||
. "$PSScriptRoot/TestRunner.ps1"
|
||||
$AssemblyName = "Microsoft.PowerShell.Commands.Management"
|
||||
|
||||
# excluded resources, taken from the 'EmbeddedResource Remove'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License.
|
||||
. "$psscriptroot/TestRunner.ps1"
|
||||
. "$PSScriptRoot/TestRunner.ps1"
|
||||
$AssemblyName = "System.Management.Automation"
|
||||
|
||||
# excluded resources, taken from the 'EmbeddedResource Remove'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License.
|
||||
. "$psscriptroot/TestRunner.ps1"
|
||||
. "$PSScriptRoot/TestRunner.ps1"
|
||||
|
||||
$assemblyName = "Microsoft.PowerShell.Security"
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ function Test-ResourceStrings
|
|||
|
||||
# determine the needed resource directory. If these tests are moved
|
||||
# this logic will need to change
|
||||
$repoBase = (Resolve-Path (Join-Path $psScriptRoot ../../../..)).Path
|
||||
$repoBase = (Resolve-Path (Join-Path $PSScriptRoot ../../../..)).Path
|
||||
$asmBase = Join-Path $repoBase "src/$AssemblyName"
|
||||
$resourceDir = Join-Path $asmBase resources
|
||||
$resourceFiles = Get-ChildItem $resourceDir -Filter *.resx -ErrorAction stop |
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License.
|
||||
. "$psscriptroot/TestRunner.ps1"
|
||||
. "$PSScriptRoot/TestRunner.ps1"
|
||||
$AssemblyName = "Microsoft.PowerShell.Commands.Utility"
|
||||
|
||||
# excluded resources, taken from the 'EmbeddedResource Remove'
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# Copyright (c) Microsoft Corporation. All rights reserved.
|
||||
# Licensed under the MIT License.
|
||||
. "$psscriptroot/TestRunner.ps1"
|
||||
. "$PSScriptRoot/TestRunner.ps1"
|
||||
|
||||
$assemblyName = "Microsoft.WSMan.Management"
|
||||
|
||||
|
|
Loading…
Reference in a new issue