Explorar el Código

Fix build script to use script path

Oren Novotny hace 9 años
padre
commit
1d4b996f63
Se han modificado 1 ficheros con 1 adiciones y 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