Merge "speclint: only show the diff files"
This commit is contained in:
commit
6e2106dafd
@ -14,7 +14,7 @@ usage() {
|
|||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if [ -z $@ ]; then
|
if [ ${#@} -eq 0 ]; then
|
||||||
usage
|
usage
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -84,10 +84,9 @@ for spec in $@; do
|
|||||||
done
|
done
|
||||||
|
|
||||||
# check if some diffs are available
|
# check if some diffs are available
|
||||||
failed=0
|
for specdiff in $tmpdir/*.cleaner.diff; do
|
||||||
for specdiff in $tmpdir/*; do
|
|
||||||
if [ -s "$specdiff" ]; then
|
if [ -s "$specdiff" ]; then
|
||||||
echo "##### `basename ${specdiff}` ##### "
|
echo "##### `basename ${specdiff} .cleaner.diff` ##### "
|
||||||
cat $specdiff
|
cat $specdiff
|
||||||
failed=1
|
failed=1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user