index : builder | |
Archlinux32 build system | gitolite user |
summaryrefslogtreecommitdiff |
-rwxr-xr-x | bin/sanity-check | 13 |
diff --git a/bin/sanity-check b/bin/sanity-check index 0445183..3c30cbb 100755 --- a/bin/sanity-check +++ b/bin/sanity-check @@ -449,11 +449,14 @@ while [ $# -gt 0 ]; do errors=$( find "${work_dir}" -mindepth 1 -maxdepth 1 \ - -name 'tmp.mysql-functions.query.*' \ - -exec sleep 5 \; \ - -exec test -s {} \; \ - -printf '%f\n' \ - -execdir sed 's/^/>> /' '{}' \; + -name 'tmp.mysql-functions.query.*' | \ + parallel -j0 \ + 'bash -c " + sleep 5 + test -s {} && '\ + 'printf '"'"'%s:\n'"'"' {} && '\ + 'sed '"'"'s/^/>> /'"'"' {} + "' ) if [ -n "${errors}" ]; then if [ ${silence} -le 1 ]; then |