Date: Wednesday, October 26, 2022 @ 23:08:37
  Author: heftig
Revision: 459336

43.1-2: do not touch global git config

Modified:
  gnome-software/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-10-26 23:07:53 UTC (rev 459335)
+++ PKGBUILD    2022-10-26 23:08:37 UTC (rev 459336)
@@ -6,7 +6,7 @@
 pkgbase=gnome-software
 pkgname=(gnome-software gnome-software-packagekit-plugin)
 pkgver=43.1
-pkgrel=1
+pkgrel=2
 pkgdesc="GNOME Software Tools"
 url="https://wiki.gnome.org/Apps/Software/";
 arch=(x86_64)
@@ -32,10 +32,9 @@
 prepare() {
   cd $pkgbase
 
-  git config --global protocol.file.allow always
   git submodule init
   git submodule set-url subprojects/gnome-pwa-list "$srcdir/gnome-pwa-list"
-  git submodule update
+  git -c protocol.file.allow=always submodule update
 }
 
 build() {

Reply via email to