1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
|
Description: Fix typo in git source handling (---mirror instead of --mirror)
Author: Allan McRae <allan@archlinux.org>
Origin: upstream
Bug: https://gitlab.archlinux.org/pacman/pacman/-/issues/171
Bug-Debian: https://bugs.debian.org/1110910
Applied-Upstream: c3aa1bc12367a8c29ddac310d8bb86ae10719bd2
Reviewed-by: Ben Westover <me@benthetechguy.net>
Last-Update: 2025-10-18
--- a/scripts/libmakepkg/source/git.sh.in
+++ b/scripts/libmakepkg/source/git.sh.in
@@ -49,7 +49,7 @@
if [[ ! -d "$dir" ]] || dir_is_empty "$dir" ; then
msg2 "$(gettext "Cloning %s %s repo...")" "${repo}" "git"
- if ! git clone --origin=origin ---mirror "$url" "$dir"; then
+ if ! git clone --origin=origin --mirror "$url" "$dir"; then
error "$(gettext "Failure while downloading %s %s repo")" "${repo}" "git"
plainerr "$(gettext "Aborting...")"
exit 1
|