diff --git a/repo2html b/repo2html index 8ab5ad9..16ec4f3 100755 --- a/repo2html +++ b/repo2html @@ -123,11 +123,13 @@ listcache=.list | ./processor "$repotype" "$path_out" 2> >( _htmlout ) # 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 >"$cref_errlog" -grep -f<( sed 's/^/\^/' "$cref_errlog_first" ) "$listcache" \ - | ./processor "$repotype" "$path_out" 2> >( _reout ) +( grep -f<( sed 's/^/\^/' "$cref_errlog_first" ) "$listcache" \ + | ./processor "$repotype" "$path_out" 2> >( _reout ) \ +) >/dev/null # if any invalid crefs remain, then they're bad [ ! -s "$cref_errlog" ] || {