Make aur update more robust
This commit is contained in:
@@ -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}"
|
||||||
|
|||||||
Reference in New Issue
Block a user