git » qt5-webengine.git » commit d4a9b32

Fix cloning from a local directory with git 2.38.1

author Evangelos Foutras
2022-10-21 17:23:07 UTC
committer Evangelos Foutras
2022-10-21 17:23:07 UTC
parent 22632a1acffdfb2d229c2ebc7f95f40a47c5e492

Fix cloning from a local directory with git 2.38.1

Work around "fatal: transport 'file' not allowed" in submodule update.

PKGBUILD +1 -1

diff --git a/PKGBUILD b/PKGBUILD
index 7437aa9..140d649 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -40,7 +40,7 @@ prepare() {
   git submodule init
   git submodule set-url src/3rdparty "$srcdir"/qtwebengine-chromium
   git submodule set-branch --branch 87-based src/3rdparty
-  git submodule update
+  git -c protocol.file.allow=always submodule update
 
   patch -p1 -i "$srcdir"/qt5-webengine-python3.patch # Fix build with Python 3
   patch -p1 -d src/3rdparty -i "$srcdir"/qt5-webengine-chromium-python3.patch