Skip to content
This repository was archived by the owner on Mar 18, 2025. It is now read-only.

Commit c144d9f

Browse files
authored
fix: Find symlinks in bootstrap-in-dir
Fixes yadm-dev#339
1 parent a4d39c7 commit c144d9f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

contrib/bootstrap/bootstrap-in-dir

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ if [[ ! -d "$BOOTSTRAP_D" ]]; then
1414
exit 1
1515
fi
1616

17-
find "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do
17+
find -L "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do
1818
if [[ -x "$bootstrap" && ! "$bootstrap" =~ "##" && ! "$bootstrap" =~ "~$" ]]; then
1919
if ! "$bootstrap"; then
2020
echo "Error: bootstrap '$bootstrap' failed" >&2

0 commit comments

Comments
 (0)