libnetwork.lib: support for git repositories which don't have '.git' in their url
This commit is contained in:
parent
564a5cb63b
commit
41731ef882
@ -909,7 +909,7 @@ function git.download() {
|
||||
notify.debug "$FUNCNAME: token_dirname = \"$token_dirname\""
|
||||
notify.debug "$FUNCNAME: token_basename = \"$token_basename\""
|
||||
|
||||
local git_branch="${token_dirname/*.git\/}"
|
||||
local git_branch="${token_dirname/*\/}"
|
||||
notify.debug "$FUNCNAME: git_branch = \"$git_branch\""
|
||||
|
||||
git.create_tarball \
|
||||
|
Loading…
Reference in New Issue
Block a user