diff options
-rwxr-xr-x | bin/change-git-remotes | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/bin/change-git-remotes b/bin/change-git-remotes index 6b48c45..6eb3e1d 100755 --- a/bin/change-git-remotes +++ b/bin/change-git-remotes @@ -22,6 +22,7 @@ fi ' )" printf '%s\n' "builder ${base_dir}" + printf '%s\n' "releng ${releng_directory}" } \ | while read -r git_name git_dir; do if ! remotes=$( @@ -51,10 +52,11 @@ fi '' 2 3 4 ) ;; - 'builder') + 'builder'|'releng') new_urls=$( - printf 'git@git.archlinux32.org:archlinux32/builder.git\n' - printf 'https://git%s.archlinux32.org/archlinux32/builder\n' \ + printf 'git@git.archlinux32.org:archlinux32/%s.git\n' \ + "${git_name}" + printf 'https://git%s.archlinux32.org/archlinux32/'"${git_name}"'\n' \ '' 2 3 4 ) ;; |