Fix clean_sources.sh with git protocol

This commit is contained in:
fosslinux 2025-02-03 17:24:07 +11:00
parent 62f147f242
commit c5175b46c5

View file

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