mirror of
git://projects.qi-hardware.com/ben-wpan.git
synced 2024-11-26 05:44:40 +02:00
Fixed two small bugs in schhist2web.
- scripts/schhist2web: second file argument was missing when invoking pngdiff for file addition or removal - scripts/schhist2web: keep track of columns also after a file is gone
This commit is contained in:
parent
c10d643c1f
commit
1774ae268e
@ -131,13 +131,16 @@ for n in `git rev-list $first..HEAD~1` $first; do
|
||||
pngdiff shrink "$thumb" -f $THUMB_OPTS "$fat_a" "$fat_b" || exit
|
||||
elif [ -f "$a" ]; then
|
||||
s="$s<TD>"
|
||||
pngdiff cat "$diff" -f -c 1,0,0 "$a" || exit
|
||||
pngdiff shrink "$thumb" -f -c 1,0,0 $THUMB_OPTS "$fat_a" || exit
|
||||
pngdiff cat "$diff" -f -c 1,0,0 "$a" "$a" || exit
|
||||
pngdiff shrink "$thumb" -f -c 1,0,0 $THUMB_OPTS "$fat_a" "$fat_a" \
|
||||
|| exit
|
||||
elif [ -f "$out/$next/$m.ppm" ]; then
|
||||
s="$s<TD>"
|
||||
pngdiff cat "$diff" -f -c 0,1,0 "$b" || exit
|
||||
pngdiff shrink "$thumb" -f -c 0,1,0 $THUMB_OPTS "$fat_b" || exit
|
||||
pngdiff cat "$diff" -f -c 0,1,0 "$b" "$b" || exit
|
||||
pngdiff shrink "$thumb" -f -c 0,1,0 $THUMB_OPTS "$fat_b" "$fat_b" \
|
||||
|| exit
|
||||
else
|
||||
s="$s<TD>"
|
||||
continue
|
||||
fi
|
||||
echo "$s" >>"$out/index.html"
|
||||
|
Loading…
Reference in New Issue
Block a user