summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-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")