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