On Tue, Dec  3, 2024 at 09:05:45PM +0100, Peter Eisentraut wrote:
> On 26.11.24 20:04, Bruce Momjian wrote:
> >   %.pdf: %.fo $(ALL_IMAGES)
> > -   $(FOP) -fo $< -pdf $@
> > +   LANG=C $(FOP) -fo $< -pdf $@ 2>&1 | \
> > +   awk 'BEGIN { warn = 0 }  { print }/not available in font/ { warn = 1 }  
> > \
> > +   END { if (warn != 0) print("\nFound characters that cannot be displayed 
> > in the PDF document") }' 1>&2
> 
> Wouldn't that lose the exit code from the fop execution?

Yikes, I think it would.  Let me work on a fix now.

-- 
  Bruce Momjian  <br...@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  Do not let urgent matters crowd out time for investment in the future.




Reply via email to