linaro-swg / optee_examples

OP-TEE Sample Applications
Other
163 stars 140 forks source link

Makefile: shell fixes #84

Closed ydirson closed 3 years ago

ydirson commented 3 years ago

"exit -1" has traditionally had "exit 255" result, but starts to be rejected by some shells (eg. dash, which is is the default on many Debian systems):

host$ bash $ exit -1 exit host$ echo $? 255

host$ dash $ exit -1 dash: 1: exit: Illegal number: -1 $ host$ echo $? 2

Signed-off-by: Yann Dirson yann@blade-group.com

jforissier commented 3 years ago

Reviewed-by: Jerome Forissier <jerome@forissier.org>

jenswi-linaro commented 3 years ago

Reviewed-by: Jens Wiklander <jens.wiklander@linaro.org>

jforissier commented 3 years ago

@ydirson can you please add the review tags? Thanks.