From c5175b46c567c7887600213cc2c783e2374cfb6d Mon Sep 17 00:00:00 2001 From: fosslinux Date: Mon, 3 Feb 2025 17:24:07 +1100 Subject: [PATCH] Fix clean_sources.sh with git protocol --- steps/improve/clean_sources.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/steps/improve/clean_sources.sh b/steps/improve/clean_sources.sh index adddfc1b..6a9adaa5 100755 --- a/steps/improve/clean_sources.sh +++ b/steps/improve/clean_sources.sh @@ -6,6 +6,9 @@ # Delete sources of packages before linux kernel get_source_filename() { + if [[ "${1}" == git://* ]]; then + shift + fi local url="${1}" local fname="${3}" # Default to basename of url if not given