mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
makepkg: do not strip bzr+ from bzr+ssh urls
bzr does not recognize bare ssh:// urls. Fixes FS#41811 Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
db2562113b
commit
6949012590
@ -446,7 +446,9 @@ download_bzr() {
|
|||||||
local netfile=$1
|
local netfile=$1
|
||||||
|
|
||||||
local url=$(get_url "$netfile")
|
local url=$(get_url "$netfile")
|
||||||
|
if [[ $url != bzr+ssh* ]]; then
|
||||||
url=${url##*bzr+}
|
url=${url##*bzr+}
|
||||||
|
fi
|
||||||
url=${url%%#*}
|
url=${url%%#*}
|
||||||
|
|
||||||
local repo=$(get_filename "$netfile")
|
local repo=$(get_filename "$netfile")
|
||||||
|
Loading…
Reference in New Issue
Block a user