aboutsummaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorSwift Geek <swiftgeek@gmail.com>2019-04-19 03:45:23 +0000
committerGogs <gogitservice@gmail.com>2019-04-19 03:45:23 +0000
commit8d3cd741781cab0d936814170df70f637bfd48b7 (patch)
tree46257b9e1937fd7e4dcf529a0a1bdb9dbb42f628 /libs
parentfffd9a3eb72f8a55a7e439e8a05185f2d8dd8983 (diff)
parent1c5677e98e25aa2eaa2f545d851678c05127445d (diff)
downloadlibrebootfr-8d3cd741781cab0d936814170df70f637bfd48b7.tar.gz
librebootfr-8d3cd741781cab0d936814170df70f637bfd48b7.zip
Merge branch 'bugs' of and_who/libreboot into master
Diffstat (limited to 'libs')
-rwxr-xr-xlibs/project10
1 files changed, 8 insertions, 2 deletions
diff --git a/libs/project b/libs/project
index fb986f89..dfb745a0 100755
--- a/libs/project
+++ b/libs/project
@@ -149,7 +149,13 @@ project_action() {
printf '%s\n\n' "Project $project $action (with ${arguments:-no argument})"
- if (set +e; "$action" "$@"); then
+ (
+ set +e
+
+ "$action" "$@"
+ )
+
+ if [[ $? -eq 0 ]]; then
printf '\n%s\n' "Project $project $action (with ${arguments:-no argument}) completed"
else
printf 1>&2 '\n%s\n' "Project $project $action (with ${arguments:-no argument}) failed"
@@ -789,7 +795,7 @@ project_update_check_git() {
requirements "git"
- if ! git_project_check "$repository"
+ if git_project_check "$repository"
then
# Git repository should always be updated (even if upstream didn't progress).
# For instance, this is useful for testing new versions of patches without changing revision.