Fix remnants of tests

This commit is contained in:
ludeeus 2020-05-30 00:12:17 +02:00
parent a1eeadd7ec
commit c07d062aa5

View File

@ -37,7 +37,7 @@ readarray -d '' filepaths < <(find . '(' \
-print0) -print0)
readarray -d '' tmp < <(find . -type f ! -name '*.sh' -perm /111 -print0) readarray -d '' tmp < <(find . -type f ! -name '*.*' -perm /111 -print0)
for file in "${tmp[@]}"; do for file in "${tmp[@]}"; do
head -n1 "$file" | grep -Eqs "^#! */[^ ]*/[abkz]*sh" || continue head -n1 "$file" | grep -Eqs "^#! */[^ ]*/[abkz]*sh" || continue
filepaths+=("$file") filepaths+=("$file")