From b5b1121aee7a362da65d1f561a5dabe52883f884 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Tue, 5 Jul 2016 22:45:45 +0200 Subject: [PATCH] libnetwork.lib: support for git urls incompatibile with .git suffix (under testing) --- lib/libnetwork.lib.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libnetwork.lib.in b/lib/libnetwork.lib.in index b4fa99e..5367cad 100644 --- a/lib/libnetwork.lib.in +++ b/lib/libnetwork.lib.in @@ -916,7 +916,7 @@ function git.download() { --pck-version "$pck_version" \ --destdir "$destdir" \ --preserve-dot-git "0" --git-branch "$git_branch" \ - "${token_dirname/.git*}.git" + "${token_dirname/\/$git_branch*}" } # function git.create_tarball