1
0
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:
Neer Sighted 2013-03-01 09:41:33 -08:00 committed by Allan McRae
parent 6831a5f4b1
commit 8b03b1a877

View File

@ -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