Explorar o código

Fix build script to use script path

Oren Novotny %!s(int64=9) %!d(string=hai) anos
pai
achega
1d4b996f63
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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