summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/change-git-remotes14
1 files changed, 4 insertions, 10 deletions
diff --git a/bin/change-git-remotes b/bin/change-git-remotes
index 514b06f..c7f0bcb 100755
--- a/bin/change-git-remotes
+++ b/bin/change-git-remotes
@@ -48,22 +48,16 @@ fi
'archlinux32')
new_urls=$(
printf 'gitolite@git.archlinux32.org:packages.git\n'
- printf 'https://git%s.archlinux32.org/%spackages\n' \
- '' '' \
- 2 'archlinux32/' \
- 3 '' \
- 4 'archlinux32/'
+ printf 'https://git%s.archlinux32.org/packages\n' \
+ '' 2 3 4
)
;;
'builder'|'releng')
new_urls=$(
printf 'gitolite@git.archlinux32.org:%s.git\n' \
"${git_name}"
- printf 'https://git%s.archlinux32.org/%s'"${git_name}"'\n' \
- '' '' \
- 2 'archlinux32/' \
- 3 '' \
- 4 'archlinux32/'
+ printf 'https://git%s.archlinux32.org/'"${git_name}"'\n' \
+ '' 2 3 4
)
;;
*)