1
0
mirror of https://codeberg.org/kiss-community/kiss synced 2024-12-24 16:10:05 -07:00

kiss: don't automatically pull down submodules when using git sources

This should be done in the build file on an opt-in basis.
This commit is contained in:
Dylan Araps 2020-08-11 15:49:15 +03:00
parent 5df9fbb6b1
commit 4e34ad6a6a
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

1
kiss
View File

@ -258,7 +258,6 @@ pkg_extract() {
git remote add origin "${url%[#@]*}" git remote add origin "${url%[#@]*}"
git fetch --depth=1 origin "$com" || git fetch git fetch --depth=1 origin "$com" || git fetch
git checkout "${com:-FETCH_HEAD}" git checkout "${com:-FETCH_HEAD}"
git submodule update --init --recursive
} || die "$1" "Failed to clone $src" } || die "$1" "Failed to clone $src"
;; ;;