Merge pull request #172 from muevoid/patch-1

Add submodule support to kiss.
This commit is contained in:
dylan 2020-07-21 08:02:25 +03:00 committed by GitHub
commit a5fd9336a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
kiss
View File

@ -259,6 +259,7 @@ 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"
;; ;;