commit: c5175b46c567c7887600213cc2c783e2374cfb6d
parent 62f147f24247203e244e25e7452938fc1d6bb313
Author: fosslinux <fosslinux@aussies.space>
Date: Mon, 3 Feb 2025 17:24:07 +1100
Fix clean_sources.sh with git protocol
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git 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