Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/change-git-remotes3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/change-git-remotes b/bin/change-git-remotes
index c7f0bcb..bc8e3f2 100755
--- a/bin/change-git-remotes
+++ b/bin/change-git-remotes
@@ -25,6 +25,9 @@ fi
printf '%s\n' "releng ${releng_directory}"
} \
| while read -r git_name git_dir; do
+ if [ -z "${git_dir}" ]; then
+ continue
+ fi
if ! remotes=$(
git -C "${git_dir}" remote 2>/dev/null
); then