Corrected issue whereby reprocessing would cause a duplicate index template output
parent
818a595e85
commit
dc99621cc1
|
@ -123,11 +123,13 @@ listcache=.list
|
||||||
| ./processor "$repotype" "$path_out" 2> >( _htmlout )
|
| ./processor "$repotype" "$path_out" 2> >( _htmlout )
|
||||||
|
|
||||||
# re-process cref errors (but only once; any errors at this point will be
|
# re-process cref errors (but only once; any errors at this point will be
|
||||||
# considered to be problem refs) TODO: RSS
|
# considered to be problem refs) TODO: RSS; note that we redirect all output to
|
||||||
|
# /dev/null so as not to re-output the index template
|
||||||
export cref_errlog=.cref-bad
|
export cref_errlog=.cref-bad
|
||||||
>"$cref_errlog"
|
>"$cref_errlog"
|
||||||
grep -f<( sed 's/^/\^/' "$cref_errlog_first" ) "$listcache" \
|
( grep -f<( sed 's/^/\^/' "$cref_errlog_first" ) "$listcache" \
|
||||||
| ./processor "$repotype" "$path_out" 2> >( _reout )
|
| ./processor "$repotype" "$path_out" 2> >( _reout ) \
|
||||||
|
) >/dev/null
|
||||||
|
|
||||||
# if any invalid crefs remain, then they're bad
|
# if any invalid crefs remain, then they're bad
|
||||||
[ ! -s "$cref_errlog" ] || {
|
[ ! -s "$cref_errlog" ] || {
|
||||||
|
|
Loading…
Reference in New Issue