gnucash-docs maint: Fix a syntax error in CI

Frank H.Ellenberger fell at code.gnucash.org
Fri Jan 29 20:10:11 EST 2021


Updated	 via  https://github.com/Gnucash/gnucash-docs/commit/3af01a65 (commit)
	from  https://github.com/Gnucash/gnucash-docs/commit/17800da9 (commit)



commit 3af01a657ab8cb3b7ecae5f620ef23af51f20520
Author: Frank H. Ellenberger <frank.h.ellenberger at gmail.com>
Date:   Sat Jan 30 02:09:54 2021 +0100

    Fix a syntax error in CI

diff --git a/util/ci/afterfailure b/util/ci/afterfailure
index 942f032..9cbd0ff 100755
--- a/util/ci/afterfailure
+++ b/util/ci/afterfailure
@@ -5,12 +5,11 @@ if [[ "$BUILDTYPE" == "cmake-make" ]] || [[ "$BUILDTYPE" == "cmake-ninja" ]]; th
     echo "##### LastTest.log #####";
     echo "########################";
     cat /build/Testing/Temporary/LastTest.log;
-else
-    if [[ "$BUILDTYPE" == "autotools-make" ]]; then
+elif [[ "$BUILDTYPE" == "autotools-make" ]]; then
     echo "##################################";
     echo "##### See error output above #####";
     echo "##################################";
-
+else
     echo "Unknown BUILDTYPE: \"$BUILDTYPE\", cannot create failure information.";
 fi
 # This script should fail so that the entire script will fail.



Summary of changes:
 util/ci/afterfailure | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)



More information about the gnucash-changes mailing list