From 0c736cf027a90c0540834c53b957b8c577591c91 Mon Sep 17 00:00:00 2001 From: Andrew Robbins Date: Wed, 30 Oct 2019 23:36:55 -0500 Subject: Fail early for project actions Fails immediately if any command returns non-zero within a project action. --- libs/project | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs') diff --git a/libs/project b/libs/project index 673689ee..d884556d 100755 --- a/libs/project +++ b/libs/project @@ -217,6 +217,8 @@ project_action() { printf '%s\n' "Project $project $action (with ${arguments:-no argument})" ( + set -e + "$action" "$@" ) -- cgit v1.2.3-70-g09d2