Make aur update more robust

This commit is contained in:
2025-10-11 01:37:44 +02:00
parent 85c81b5a1c
commit c80c40e57a

View File

@@ -1,5 +1,8 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -o nounset
set -o errexit
for pkg in pkgbuilds/* ; do for pkg in pkgbuilds/* ; do
if [[ -n "$(builtin cd "${pkg}" && git rev-parse --show-superproject-working-tree)" ]] ; then if [[ -n "$(builtin cd "${pkg}" && git rev-parse --show-superproject-working-tree)" ]] ; then
printf "checking git submodule %s\n" "${pkg}" printf "checking git submodule %s\n" "${pkg}"