Commit 41731ef8826083437e9bc20cf6c7cdb0c84ea562

Authored by Silvan Calarco
1 parent 564a5cb63b
Exists in master

libnetwork.lib: support for git repositories which don't have '.git' in their url

Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff

lib/libnetwork.lib.in
... ... @@ -909,7 +909,7 @@
909 909 notify.debug "$FUNCNAME: token_dirname = \"$token_dirname\""
910 910 notify.debug "$FUNCNAME: token_basename = \"$token_basename\""
911 911  
912   - local git_branch="${token_dirname/*.git\/}"
  912 + local git_branch="${token_dirname/*\/}"
913 913 notify.debug "$FUNCNAME: git_branch = \"$git_branch\""
914 914  
915 915 git.create_tarball \