1
0
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:
Dylan Araps 2021-07-15 09:36:20 +03:00
parent 515ae5b549
commit 34ccbcbc3e
No known key found for this signature in database
GPG Key ID: 13295DAC2CF13B5C

2
kiss
View File

@ -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