Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/bin/change-git-remotes
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-08 19:50:31 +0100
committerErich Eckner <git@eckner.net>2019-11-08 19:50:31 +0100
commite76c7e1969f9337cbc89c5668c284cf38f1fe786 (patch)
treecd5dfbc46df3f766ea10846e8d1179861faa866f /bin/change-git-remotes
parent5330d56ae97da42aa163d32ca709b2c2fc2e3544 (diff)
bin/change-git-remotes: add releng repository
Diffstat (limited to 'bin/change-git-remotes')
-rwxr-xr-xbin/change-git-remotes8
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
)
;;