From 98f000a6fb330ec8afa87bcb6ba0cad20c7552f2 Mon Sep 17 00:00:00 2001 From: Ava Chow Date: Wed, 24 Apr 2024 19:11:06 -0400 Subject: [PATCH] diffchecks.sh: Make success clear and exit with failure on error --- scripts/diffcheck.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/diffcheck.sh b/scripts/diffcheck.sh index 3d8a9e55..aa9f557c 100755 --- a/scripts/diffcheck.sh +++ b/scripts/diffcheck.sh @@ -9,6 +9,8 @@ if git checkout HEAD^ && scripts/buildtable.pl >/tmp/table.mediawiki 2>/dev/null echo "$newdiff" exit 1 fi + echo "README table matches expected table from BIP files" else echo 'Cannot build previous commit table for comparison' + exit 1 fi