Ver Fonte

Fix build script to use script path

Oren Novotny há 9 anos atrás
pai
commit
1d4b996f63
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      Rx.NET/Source/build-new.ps1

+ 1 - 1
Rx.NET/Source/build-new.ps1

@@ -37,7 +37,7 @@ dotnet restore $scriptPath | out-null
 
 #need to ensure core is built first due to bad dependency order determination by dotnet build
 
-$coreDir = gci . -Directory | where-object {$_.Name -eq "System.Reactive.Core"} | Select -First 1
+$coreDir = gci $scriptPath -Directory | where-object {$_.Name -eq "System.Reactive.Core"} | Select -First 1
 dotnet build -c "$configuration" $coreDir.FullName
 
 Write-Host "Building projects" -Foreground Green