help-gnu-utils
[Top][All Lists]
Advanced

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

Re: make: how to selectively handle exit status of commands


From: Paul Jarc
Subject: Re: make: how to selectively handle exit status of commands
Date: Fri, 13 Aug 2004 09:32:30 -0400
User-agent: Gnus/5.110003 (No Gnus v0.3) Emacs/21.3 (gnu/linux)

Stephan Petersen <cyber.mail883.10.spasp@xoxy.net> wrote:
> What's the best way to deal with such cases, where make should abort
> for *some* exit status values (e.g. > 40), but continue for others
> (e.g. <= 40).

target: deps
        foo; expr "$$?" '<=' 40 > /dev/null


paul




reply via email to

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