Skip to content

Commit c5175b4

Browse files
committed
Fix clean_sources.sh with git protocol
1 parent 62f147f commit c5175b4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

steps/improve/clean_sources.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
# Delete sources of packages before linux kernel
77

88
get_source_filename() {
9+
if [[ "${1}" == git://* ]]; then
10+
shift
11+
fi
912
local url="${1}"
1013
local fname="${3}"
1114
# Default to basename of url if not given

0 commit comments

Comments
 (0)