From b7fcc477a051a0f09f36251e71da50007de99aad Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Sat, 13 Apr 2019 21:47:52 -0400 Subject: libs/project: Don't fail with project_action_check project_action_check() is there to avoid redundant actions from being performed (e.g., if SeaBIOS is already built, don't build it again). Since this is its primary purpose, we want to avoid erroring out when it returns with a non-zero return code. This addresses issue #614 --- libs/project | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libs') diff --git a/libs/project b/libs/project index 25d6ca74..75e84ed5 100755 --- a/libs/project +++ b/libs/project @@ -143,7 +143,9 @@ project_action() { shift local arguments="$*" - project_action_check "$action" "$project" "$@" + if project_action_check "$action" "$project" "$@"; then + return 0 + fi printf '%s\n\n' "Project $project $action (with ${arguments:-no argument})" -- cgit v1.2.3-70-g09d2