1
0
mirror of git://projects.qi-hardware.com/eda-tools.git synced 2025-04-21 12:27:27 +03:00

Make schhist more forgiving if profile or top-level sheet is missing.

- schhist/gitsch2ps: issue a (fatal) error only if .pro and .sch are missing
- schhist/gitsch2ps: exit with success if only one of .pro and .sch is
  missing
- schhist/schhist2web: skip commits for which no Postscript was generated
This commit is contained in:
Werner Almesberger
2010-10-04 00:28:28 -03:00
parent 781c92d2d5
commit 02bb696704
2 changed files with 16 additions and 3 deletions

View File

@@ -239,6 +239,7 @@ for n in $first `cd "$dir" && git rev-list --reverse $first..HEAD`; do
#
tmp2=`gitsch2ps -k $sanitize "$dir" "$schname" $n "$tmp"` || exit
for m in "$tmp"/*.ps; do
[ "$m" = "$tmp/*.ps" ] && break
# call sub-sheets by their own name, without prepending the
# top-level sheet's name
name=`basename "$m" .ps`