Improve the scripts

This commit is contained in:
Markus Fleschutz
2021-05-17 19:53:40 +02:00
parent 61900ec1d9
commit 6ee8ea905f
6 changed files with 11 additions and 10 deletions

View File

@ -22,10 +22,10 @@ try {
$URL = $Row.URL
$DirName = $Row.Directory
if (test-path "$ParentDir/$DirName" -pathType container) {
"Skipping 📂$DirName because it exists already ..."
"Skipping 📂$DirName (exists already)..."
continue
}
"⏳ Cloning $URL to 📂$DirName ..."
"⏳ Cloning $URL to 📂$($DirName)..."
& git clone --recurse-submodules "$URL" "$ParentDir/$DirName"
if ($lastExitCode -ne "0") { throw "'git clone $URL' failed" }
$Count++