Update the scripts

This commit is contained in:
Markus Fleschutz
2021-03-16 08:45:53 +01:00
parent 153bdabaec
commit 8d6f38ff40
6 changed files with 20 additions and 14 deletions

View File

@ -20,7 +20,8 @@ try {
}
try {
set-location $RepoDir
if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" }
set-location "$RepoDir"
& git switch --recurse-submodules $Branch
if ($lastExitCode -ne "0") { throw "'git switch --recurse-submodules $Branch' failed" }