0
0
mirror of https://github.com/termux/termux-packages.git synced 2025-02-23 01:07:10 +00:00
termux-packages/packages/pacman/git.sh.in.patch

12 lines
574 B
Diff

--- pacman-7.0.0/scripts/libmakepkg/source/git.sh.in 2024-07-14 12:11:18.000000000 +0300
+++ pacman-7.0.0/scripts/libmakepkg/source/git.sh.in.patch 2025-01-25 16:31:49.781499938 +0300
@@ -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