diff --git a/update-externals.ps1 b/update-externals.ps1 index 126d5e1..d9afba0 100644 --- a/update-externals.ps1 +++ b/update-externals.ps1 @@ -3,17 +3,17 @@ $env:elskomnewpth = Join-Path (Get-Location) Els_kom_new if(!(Test-Path -Path $env:elskomnewpth)) { git clone -q https://github.com/Elskom/Els_kom_new.git --recursive - Set-Location -Path Els_kom_new + Set-Location -Path Els_kom_new/PCbuild nuget restore - msbuild PCbuild/pcbuild.sln /nologo /verbosity:m /m - Set-Location -Path .. + msbuild pcbuild.sln /nologo /verbosity:m /m + Set-Location -Path ../.. } else { - Set-Location -Path Els_kom_new + Set-Location -Path Els_kom_new/PCbuild git pull -q nuget restore - msbuild PCbuild/pcbuild.sln /nologo /verbosity:m /m - Set-Location -Path .. + msbuild pcbuild.sln /nologo /verbosity:m /m + Set-Location -Path ../.. } Set-Location -Path ..