From 0ba9b262abcf5910ccdfe2a2e63878816d4d440d Mon Sep 17 00:00:00 2001 From: Allan McRae Date: Tue, 12 Mar 2013 14:05:18 +1000 Subject: Revert "makepkg: Use a recursive git clone." This reverts commit 8b03b1a8776043978aeac31682f94d65b4f3e514. It is much better to download the submodules using separate source entries and adjust the submodule configs to point at these versions in the prepare() function. See https://mailman.archlinux.org/pipermail/pacman-dev/2013-March/016771.html for an example. Signed-off-by: Allan McRae --- scripts/makepkg.sh.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/makepkg.sh.in b/scripts/makepkg.sh.in index 8145cc3f..73f45d47 100644 --- a/scripts/makepkg.sh.in +++ b/scripts/makepkg.sh.in @@ -562,7 +562,7 @@ extract_git() { pushd "$srcdir" &>/dev/null rm -rf "${dir##*/}" - if ! git clone --recursive "$dir"; then + if ! git clone "$dir"; then error "$(gettext "Failure while creating working copy of %s %s repo")" "${repo}" "git" plain "$(gettext "Aborting...")" exit 1 -- cgit v1.2.3-70-g09d2