From c144d9f3bb59913347ccb8e4b85d3bc51f67bfb0 Mon Sep 17 00:00:00 2001 From: Ross Smith II Date: Thu, 6 May 2021 20:11:36 -0700 Subject: [PATCH] fix: Find symlinks in bootstrap-in-dir Fixes #339 --- contrib/bootstrap/bootstrap-in-dir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/bootstrap/bootstrap-in-dir b/contrib/bootstrap/bootstrap-in-dir index 91b75f7..8955641 100755 --- a/contrib/bootstrap/bootstrap-in-dir +++ b/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