mirror of
https://codeberg.org/kiss-community/kiss
synced 2024-12-25 00:20:05 -07:00
kiss: fix bug with variables and git sources
This commit is contained in:
parent
515ae5b549
commit
34ccbcbc3e
2
kiss
2
kiss
@ -441,7 +441,7 @@ pkg_extract() {
|
||||
case $_res in
|
||||
git+*)
|
||||
# Split the source into URL + OBJECT (branch or commit).
|
||||
url=${src##git+} com=${url##*[@#]} com=${com#${url%[#@]*}}
|
||||
url=${_res##git+} com=${url##*[@#]} com=${com#${url%[#@]*}}
|
||||
|
||||
# This magic will shallow clone branches, commits or the
|
||||
# regular repository. It correctly handles cases where a
|
||||
|
Loading…
Reference in New Issue
Block a user