12 schbasename
=`basename $INPUT .sch`
14 SCMDIR
=$SRCDIR/..
/scheme \
15 SYMDIR
=$SRCDIR/..
/..
/symbols \
16 GEDADATARC
=$BUILDDIR/..
/lib \
17 ..
/src
/gnetlist
-L ${SRCDIR}/..
/..
/libgeda
/scheme \
18 -L ${BUILDDIR}/..
/..
/libgeda
/scheme \
19 -o ${BUILDDIR}/new_
${schbasename}.
$BACKEND -g $BACKEND $INPUT
24 echo FAILED
: gnetlist returned non-zero
exit status
28 sed '/gnetlist.*-g/d' ${SRCDIR}/${schbasename}.
$BACKEND > \
29 ${BUILDDIR}/${schbasename}.${BACKEND}.filtered
30 sed '/gnetlist.*-g/d' ${BUILDDIR}/new_
${schbasename}.
$BACKEND > \
31 ${BUILDDIR}/new_${schbasename}.${BACKEND}.filtered
32 diff $EXTRADIFF ${BUILDDIR}/${schbasename}.${BACKEND}.filtered \
33 ${BUILDDIR}/new_${schbasename}.${BACKEND}.filtered
36 rm ${BUILDDIR}/${schbasename}.${BACKEND}.filtered ${BUILDDIR}/new_${schbasename}.${BACKEND}.filtered