From 34ccbcbc3edf6a1a90f8ed1ca4ce5cfcae8d76e3 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Thu, 15 Jul 2021 09:36:20 +0300 Subject: [PATCH] kiss: fix bug with variables and git sources --- kiss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kiss b/kiss index f6bde12..981f626 100755 --- a/kiss +++ b/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