summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStelios Tsampas2023-07-22 01:15:04 +0300
committerStelios Tsampas2023-07-22 01:15:04 +0300
commit4795eff2cf19fad85a0c2ec3a47fc2ac06fef37b (patch)
treedbe5dc40122a0dc687ad006289583b1b236bfb28
parent1a86c46637bacfaa2709bc3a33e2ac4ea42916b1 (diff)
downloadaur-4795eff2cf19fad85a0c2ec3a47fc2ac06fef37b.tar.gz
[proton-experimental] Set origin url
-rw-r--r--PKGBUILD1
-rw-r--r--PKGBUILD.testing1
2 files changed, 2 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2e76b34811e6..fd0c6ee8084f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -141,6 +141,7 @@ prepare() {
mv "$srcdir"/wine-gecko-${_geckover}-x86{,_64}.tar.xz contrib/
mv "$srcdir"/wine-mono-${_monover}-x86.tar.xz contrib/
+ # Explicitly set origin URL for submodules using relative paths
git remote set-url origin https://github.com/ValveSoftware/Proton.git
git -c protocol.file.allow=always submodule update --init --filter=tree:0 --recursive
diff --git a/PKGBUILD.testing b/PKGBUILD.testing
index 3911d2e7a1bc..72cd706aed40 100644
--- a/PKGBUILD.testing
+++ b/PKGBUILD.testing
@@ -141,6 +141,7 @@ prepare() {
mv "$srcdir"/wine-gecko-${_geckover}-x86{,_64}.tar.xz contrib/
mv "$srcdir"/wine-mono-${_monover}-x86.tar.xz contrib/
+ # Explicitly set origin URL for submodules using relative paths
git remote set-url origin https://github.com/ValveSoftware/Proton.git
git -c protocol.file.allow=always submodule update --init --filter=tree:0 --recursive