build-scripts/winrtbuild.ps1
changeset 9941 d0c6d95483d9
parent 9940 f2d5ed0d9686
child 9942 e82bfd942409
     1.1 --- a/build-scripts/winrtbuild.ps1	Tue Dec 01 22:07:24 2015 -0500
     1.2 +++ b/build-scripts/winrtbuild.ps1	Wed Dec 02 07:58:23 2015 -0500
     1.3 @@ -248,7 +248,7 @@
     1.4          Write-Host -ForegroundColor Cyan "... via NuGet install: $NugetPath"
     1.5          $NugetOutputDir = "$PSScriptRoot\..\VisualC-WinRT\lib\nuget"
     1.6          Write-Host -ForegroundColor Cyan "...  output directory: $NugetOutputDir"
     1.7 -        $SDLHGRevision = $($(hg log -l 1 | select-string "changeset") -Replace "changeset:\W*(\d+).*",'$1') 2>$null
     1.8 +        $SDLHGRevision = $($(hg log -l 1 --repository "$PSScriptRoot\.." | select-string "changeset") -Replace "changeset:\W*(\d+).*",'$1') 2>$null
     1.9          Write-Host -ForegroundColor Cyan "...       HG Revision: $SDLHGRevision"
    1.10  
    1.11          # Base options to nuget.exe