Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scripts/makepkg.sh.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in
index 4f35f2d3..3b9702e3 100644
--- a/scripts/makepkg.sh.in
+++ b/scripts/makepkg.sh.in
@@ -446,7 +446,9 @@ download_bzr() {
local netfile=$1
local url=$(get_url "$netfile")
- url=${url##*bzr+}
+ if [[ $url != bzr+ssh* ]]; then
+ url=${url##*bzr+}
+ fi
url=${url%%#*}
local repo=$(get_filename "$netfile")