mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-19 17:53:00 +01:00
Fix clean_sources.sh with git protocol
This commit is contained in:
parent
62f147f242
commit
c5175b46c5
1 changed files with 3 additions and 0 deletions
|
|
@ -6,6 +6,9 @@
|
||||||
# Delete sources of packages before linux kernel
|
# Delete sources of packages before linux kernel
|
||||||
|
|
||||||
get_source_filename() {
|
get_source_filename() {
|
||||||
|
if [[ "${1}" == git://* ]]; then
|
||||||
|
shift
|
||||||
|
fi
|
||||||
local url="${1}"
|
local url="${1}"
|
||||||
local fname="${3}"
|
local fname="${3}"
|
||||||
# Default to basename of url if not given
|
# Default to basename of url if not given
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue