mirror of
https://github.com/TheLocehiliosan/yadm
synced 2024-10-27 20:34:27 +00:00
Merge d149146da7
into 0a5e7aa353
This commit is contained in:
commit
4fd601a4fb
@ -14,7 +14,8 @@ if [[ ! -d "$BOOTSTRAP_D" ]]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
find -L "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do
|
||||
mapfile -t bootstraps < <(find -L "$BOOTSTRAP_D" -type f | sort)
|
||||
for bootstrap in "${bootstraps[@]}"; do
|
||||
if [[ -x "$bootstrap" && ! "$bootstrap" =~ "##" && ! "$bootstrap" =~ "~$" ]]; then
|
||||
if ! "$bootstrap"; then
|
||||
echo "Error: bootstrap '$bootstrap' failed" >&2
|
||||
|
Loading…
Reference in New Issue
Block a user