1
0
Fork 0
mirror of synced 2024-07-26 18:11:09 -04:00

fix: Find symlinks in bootstrap-in-dir

Fixes #339
This commit is contained in:
Ross Smith II 2021-05-06 20:11:36 -07:00 committed by GitHub
parent a4d39c7504
commit c144d9f3bb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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