1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

Revert "makepkg: Use a recursive git clone."

This reverts commit 8b03b1a877.

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 <allan@archlinux.org>
This commit is contained in:
Allan McRae 2013-03-12 14:05:18 +10:00
parent 342924f796
commit 0ba9b262ab

View File

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