bash - Continue make command even if one operation within fails -


this question has answer here:

i'm looking way continue make command in event of error failure.

i need way of wrapping command doesn't respond exit code 1.

test:     exit 1 ;\     echo 'hi' ;\ 

i need way wrap this:

example:    somecommand && othercommand ;\    echo 'hi' ;\ 

where somecommand can exit 1 (error) , not run othercommand or 0 run othercommand.

prefixing recipe - tells make ignore errors returned line, other thing need run 2 recipes separately.

example:    -somecommand && othercommand    echo 'hi' 

Comments

Popular posts from this blog

ios - Is 'init' forbidden as *part* of a variable name? -

file - Python: AttributeError: 'str' object has no attribute 'readlines' -

c# - Get the Class name in a class with atribute inside a attribute method -