Improve the scripts

This commit is contained in:
Markus Fleschutz
2021-04-17 11:29:32 +02:00
parent 9e1c96d46f
commit bea6e65d49
10 changed files with 12 additions and 20 deletions

View File

@ -12,7 +12,7 @@ try {
if (-not(test-path "$RepoDir" -pathType container)) { throw "Can't access directory: $RepoDir" }
set-location "$RepoDir"
& git --version
$Null = (git --version)
if ($lastExitCode -ne "0") { throw "Can't execute 'git' - make sure Git is installed and available" }
& "$PSScriptRoot/fetch-repo.ps1"