trans-coord-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error handling


From: Yavor Doganov
Subject: Re: Error handling
Date: Thu, 21 Feb 2008 11:22:40 +0200

On ср, 2008-02-20 at 18:28 +0200, Yavor Doganov wrote:
> +       $(VALIDATESKIP) $(VALIDATE-HTML) $$@ &> err.log \
> +         || sleep 1 ; touch $(1).po && ($(NOTIFYSKIP) mail -s \
> +               "[GNUN error] $$(subst $(rootdir),,$$@) is not valid XHTML" \
> +               $(transl_addr) < err.log ; cat err.log ; exit 1)

That was a bug -- the whole command sequence after || should be in
parens, otherwise it always exits with non-zero status.  Fixed in my
working copy, also for the other occurrence.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]