diff --git a/.config/yadm/bootstrap b/.config/yadm/bootstrap index 0363085..fedacfc 100755 --- a/.config/yadm/bootstrap +++ b/.config/yadm/bootstrap @@ -29,7 +29,7 @@ if [[ ! -d "$BOOTSTRAP_D" ]]; then exit 1 fi -find -L "$BOOTSTRAP_D" -type f | sort | while IFS= read -r bootstrap; do +find -L "$BOOTSTRAP_D" -type f -not -path "$BOOTSTRAP_LIB/*" | sort | while IFS= read -r bootstrap; do if [[ -x "$bootstrap" && ! "$bootstrap" =~ "##" && ! "$bootstrap" =~ "~$" ]]; then if ! "$bootstrap"; then echo "Error: bootstrap '$bootstrap' failed" >&2