Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 16 lines (11 sloc) 278 Bytes
#!/usr/bin/env bash
set -euo pipefail
declare scratch
scratch="$(mktemp)"
while read -r file; do
if head -n 1 "${file}" | grep -qF 'bash'; then
echo "${file}" >> "${scratch}"
fi
done < <(git ls-files)
# Ignore fixtures in teamci/builder
grep -vF 'fixtures' "${scratch}"