File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -3428,6 +3428,7 @@ build_mingw_w64_git () { # [--only-i686] [--only-x86_64] [--only-aarch64] [--ski
3428
3428
sed_makepkg_e=
3429
3429
force=
3430
3430
src_pkg=
3431
+ maybe_sync=
3431
3432
while case " $1 " in
3432
3433
--only-i686|--only-32-bit)
3433
3434
MINGW_ARCH=mingw32
@@ -3469,6 +3470,9 @@ build_mingw_w64_git () { # [--only-i686] [--only-x86_64] [--only-aarch64] [--ski
3469
3470
-o* )
3470
3471
output_path=" $( cygpath -am " ${1# -?} " ) " || exit
3471
3472
;;
3473
+ --maybe-sync|-s)
3474
+ maybe_sync=" -s --noconfirm"
3475
+ ;;
3472
3476
-* ) die " Unknown option: %s\n" " $1 " ;;
3473
3477
* ) break ;;
3474
3478
esac ; do shift ; done
@@ -3533,7 +3537,7 @@ build_mingw_w64_git () { # [--only-i686] [--only-x86_64] [--only-aarch64] [--ski
3533
3537
export SIGNTOOL=" git ${d: +--git-dir=" $d " } signtool"
3534
3538
fi &&
3535
3539
cd ${git_src_dir%/ src/ git} / &&
3536
- MAKEFLAGS=${MAKEFLAGS:- -j$(nproc)} makepkg-mingw -s --noconfirm $force -p PKGBUILD.$tag &&
3540
+ MAKEFLAGS=${MAKEFLAGS:- -j$(nproc)} makepkg-mingw $maybe_sync $force -p PKGBUILD.$tag &&
3537
3541
if test -n " $src_pkg "
3538
3542
then
3539
3543
git --git-dir src/git/.git archive --prefix git/ -o git-$tag .tar.gz $tag &&
You can’t perform that action at this time.
0 commit comments