: nply/minci

commit f952ea1188be221a0dc9bf4d9690f6ee88635db8
parent cff3daa68953e1be5dc7245c4f97c266d740d07c
Author: kristapsdz <kristaps@bsd.lv>
Date: Tue, 3 Mar 2020 14:40:16 +0000

Report success/failure.
1 file changed, 8 insertions(+), 2 deletions(-)
M
minci.sh
|
10
++++++++--
diff --git a/minci.sh b/minci.sh
@@ -195,6 +195,14 @@ do
 	done
 
 	exec 3>&-
+	set +e
+
+	if [ $TIME_distcheck -eq 0 ]
+	then
+		echo "$0: FAILURE: $reponame"
+	else
+		echo "$0: success: $reponame"
+	fi
 
 	echo "$0: computing signature"
 

@@ -204,8 +212,6 @@ do
 	UNAME_S=`uname -s | sed -e 's!^[ ]*!!g' -e 's![ ]*$!!g'`
 	UNAME_V=`uname -v | sed -e 's!^[ ]*!!g' -e 's![ ]*$!!g'`
 
-	set +e
-
 	# Create the signature for this entry.
 	# It consists of all the MD5 hash of all arguments in
 	# alphabetical order (by key), with the report-log (or /dev/null