1
0

exclude lib directory

This commit is contained in:
2022-07-16 20:33:04 +02:00
parent e8252b1a1a
commit 6456e74c64

View File

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