Merge d149146da7
into e4bb8a79a4
This commit is contained in:
commit
136c0d61f6
1 changed files with 2 additions and 1 deletions
|
@ -14,7 +14,8 @@ if [[ ! -d "$BOOTSTRAP_D" ]]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
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 [[ -x "$bootstrap" && ! "$bootstrap" =~ "##" && ! "$bootstrap" =~ "~$" ]]; then
|
||||||
if ! "$bootstrap"; then
|
if ! "$bootstrap"; then
|
||||||
echo "Error: bootstrap '$bootstrap' failed" >&2
|
echo "Error: bootstrap '$bootstrap' failed" >&2
|
||||||
|
|
Loading…
Reference in a new issue