summaryrefslogtreecommitdiff
path: root/build-all-with-docker
diff options
context:
space:
mode:
authorErich Eckner <git@eckner.net>2024-07-09 14:48:17 +0200
committerErich Eckner <git@eckner.net>2024-07-09 14:48:17 +0200
commit0edcfb6f07b27b56e4a378bac689d5b91a976423 (patch)
tree2a5a54205c4084f304f41a6097d0a7ded10a78a2 /build-all-with-docker
parent23fa43d99571dc38e28aa52550cb8cc83de9ed60 (diff)
downloadarchlinuxewe-0edcfb6f07b27b56e4a378bac689d5b91a976423.tar.xz
build-all-with-docker: add PKGBUILDpatches
Diffstat (limited to 'build-all-with-docker')
-rwxr-xr-xbuild-all-with-docker6
1 files changed, 5 insertions, 1 deletions
diff --git a/build-all-with-docker b/build-all-with-docker
index a9e1eee86..437ed4529 100755
--- a/build-all-with-docker
+++ b/build-all-with-docker
@@ -27,6 +27,7 @@ fi
ids=$(
for pkg in */PKGBUILD; do
cd "${pkg%/PKGBUILD}"
+ ../addPkgbuildPatch add
docker run -d -v .:/build arch-build:latest
docker run -d -v .:/build artix-build:latest
cd ..
@@ -47,7 +48,10 @@ check_and_commit_package_updates() {
)
); do
cd "$pkg"
- ../commit-package -a && git push
+ ../addPkgbuildPatch del
+ [ -n "$(git status --porcelain -- .)" ] \
+ && ../commit-package -a \
+ && git push
cd ..
done
}