diff options
-rwxr-xr-x | bin/change-git-remotes | 3 |
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 |