diff options
author | Erich Eckner <git@eckner.net> | 2024-07-09 14:48:17 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2024-07-09 14:48:17 +0200 |
commit | 0edcfb6f07b27b56e4a378bac689d5b91a976423 (patch) | |
tree | 2a5a54205c4084f304f41a6097d0a7ded10a78a2 /build-all-with-docker | |
parent | 23fa43d99571dc38e28aa52550cb8cc83de9ed60 (diff) | |
download | archlinuxewe-0edcfb6f07b27b56e4a378bac689d5b91a976423.tar.xz |
build-all-with-docker: add PKGBUILDpatches
Diffstat (limited to 'build-all-with-docker')
-rwxr-xr-x | build-all-with-docker | 6 |
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 } |