From 694901259031c19178cbfaa7087a2950d2dde477 Mon Sep 17 00:00:00 2001 From: Andrew Gregory Date: Tue, 23 Sep 2014 14:04:47 -0400 Subject: makepkg: do not strip bzr+ from bzr+ssh urls bzr does not recognize bare ssh:// urls. Fixes FS#41811 Signed-off-by: Andrew Gregory Signed-off-by: Allan McRae --- scripts/makepkg.sh.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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") -- cgit v1.2.3-70-g09d2