Browse Source

fix: Find symlinks in bootstrap-in-dir

Fixes #339
pull/340/head
Ross Smith II 6 months ago
committed by GitHub
parent
commit
c144d9f3bb
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      contrib/bootstrap/bootstrap-in-dir

2
contrib/bootstrap/bootstrap-in-dir

@ -14,7 +14,7 @@ if [[ ! -d "$BOOTSTRAP_D" ]]; then
exit 1
fi
find "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do
find -L "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do
if [[ -x "$bootstrap" && ! "$bootstrap" =~ "##" && ! "$bootstrap" =~ "~$" ]]; then
if ! "$bootstrap"; then
echo "Error: bootstrap '$bootstrap' failed" >&2

Loading…
Cancel
Save