Make this work for old versions of automake
This commit is contained in:
parent
f8077c9790
commit
4eff0fc5b8
|
@ -1,7 +1,8 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
for f in $(find . -name '*.log' -not -name 'config.log'); do
|
for f in $(find . -name '*.log' -not -name 'config.log'); do
|
||||||
if [[ $(tail -1 $f) = FAIL* ]]; then
|
last=$(tail -1 $f)
|
||||||
|
if [[ $last = FAIL* || $last = *failed* ]]; then
|
||||||
echo '====' $f '===='
|
echo '====' $f '===='
|
||||||
cat $f
|
cat $f
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue