bash - Continue make command even if one operation within fails -
this question has answer here:
- make: how continue after command fails? 7 answers
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
Post a Comment