index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/check-mirrors | 6 |
diff --git a/bin/check-mirrors b/bin/check-mirrors index b629880..696ded6 100755 --- a/bin/check-mirrors +++ b/bin/check-mirrors @@ -5,7 +5,11 @@ if [ $# -eq 0 ]; then - git -C "${releng_directory}" fetch origin master:master || \ + if [ -d "${releng_directory}/.git" ]; then + git -C "${releng_directory}" remote update + else + git -C "${releng_directory}" fetch origin master:master + fi || \ true country_codes=$( |