Changeset View
Changeset View
Standalone View
Standalone View
Mk/Scripts/qa.sh
Show First 20 Lines • Show All 110 Lines • ▼ Show 20 Lines | while read l; do | ||||
# No results presents a blank line | # No results presents a blank line | ||||
[ -z "${l}" ] && continue | [ -z "${l}" ] && continue | ||||
read link | read link | ||||
case "${link}" in | case "${link}" in | ||||
/*) f="${STAGEDIR}${link}" ;; | /*) f="${STAGEDIR}${link}" ;; | ||||
*) f="${l%/*}/${link}" ;; | *) f="${l%/*}/${link}" ;; | ||||
esac | esac | ||||
if [ -f "${f}" ]; then | if [ -x "${f}" ]; then | ||||
shebangonefile "${f}" || rc=1 | shebangonefile "${f}" || rc=1 | ||||
fi | fi | ||||
# Use heredoc to avoid losing rc from find|while subshell | # Use heredoc to avoid losing rc from find|while subshell | ||||
done <<-EOF | done <<-EOF | ||||
$(find ${STAGEDIR}${PREFIX} \ | $(find ${STAGEDIR}${PREFIX} \ | ||||
-type l -exec stat -f "%N${LF}%Y" {} + 2>/dev/null) | -type l -exec stat -f "%N${LF}%Y" {} + 2>/dev/null) | ||||
EOF | EOF | ||||
▲ Show 20 Lines • Show All 749 Lines • Show Last 20 Lines |