mirror of
https://github.com/moparisthebest/pacman
synced 2024-08-13 17:03:46 -04:00
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
@ -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…
Reference in New Issue
Block a user