diff options
author | Erich Eckner <git@eckner.net> | 2019-11-08 19:50:31 +0100 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2019-11-08 19:50:31 +0100 |
commit | e76c7e1969f9337cbc89c5668c284cf38f1fe786 (patch) | |
tree | cd5dfbc46df3f766ea10846e8d1179861faa866f /bin/change-git-remotes | |
parent | 5330d56ae97da42aa163d32ca709b2c2fc2e3544 (diff) | |
download | builder-e76c7e1969f9337cbc89c5668c284cf38f1fe786.tar.xz |
bin/change-git-remotes: add releng repository
Diffstat (limited to 'bin/change-git-remotes')
-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 ) ;; |