makepkg: Use a recursive git clone.
Make makepkg use a recursive clone when creating the working directory. This will initialize submodules Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
6831a5f4b1
commit
8b03b1a877
1 changed files with 1 additions and 1 deletions
|
@ -490,7 +490,7 @@ download_git() {
|
|||
pushd "$srcdir" &>/dev/null
|
||||
rm -rf "${dir##*/}"
|
||||
|
||||
if ! git clone "$dir"; then
|
||||
if ! git clone --recursive "$dir"; then
|
||||
error "$(gettext "Failure while creating working copy of %s %s repo")" "${repo}" "git"
|
||||
plain "$(gettext "Aborting...")"
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Reference in a new issue