summaryrefslogtreecommitdiff
path: root/bin/change-git-remotes
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2019-11-18 09:24:19 +0100
committerErich Eckner <git@eckner.net>2019-11-18 09:24:19 +0100
commitda676e6ab58b509a8bb1897c920c17c936abe5cb (patch)
treed772bb8775c993862a8e944f6d5b7c0f444b1547 /bin/change-git-remotes
parent3acf052f4ad3e415bae60ba34bab33b3062a8091 (diff)
downloadbuilder-da676e6ab58b509a8bb1897c920c17c936abe5cb.tar.xz
bin/change-git-remotes: not all urls have changed ...
Diffstat (limited to 'bin/change-git-remotes')
-rwxr-xr-xbin/change-git-remotes14
1 files changed, 10 insertions, 4 deletions
diff --git a/bin/change-git-remotes b/bin/change-git-remotes
index c7f0bcb..514b06f 100755
--- a/bin/change-git-remotes
+++ b/bin/change-git-remotes
@@ -48,16 +48,22 @@ fi
'archlinux32')
new_urls=$(
printf 'gitolite@git.archlinux32.org:packages.git\n'
- printf 'https://git%s.archlinux32.org/packages\n' \
- '' 2 3 4
+ printf 'https://git%s.archlinux32.org/%spackages\n' \
+ '' '' \
+ 2 'archlinux32/' \
+ 3 '' \
+ 4 'archlinux32/'
)
;;
'builder'|'releng')
new_urls=$(
printf 'gitolite@git.archlinux32.org:%s.git\n' \
"${git_name}"
- printf 'https://git%s.archlinux32.org/'"${git_name}"'\n' \
- '' 2 3 4
+ printf 'https://git%s.archlinux32.org/%s'"${git_name}"'\n' \
+ '' '' \
+ 2 'archlinux32/' \
+ 3 '' \
+ 4 'archlinux32/'
)
;;
*)