From 748e066e5d23c4d6220f2d5702e3272f61bfb70c Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Mon, 24 Jan 2011 12:05:23 -0800 Subject: [PATCH] vswitchd: Fail the build when the schema checksum does not match. Before, a bad checksum was easy to miss because the build still succeeded. With this change, a bad checksum makes the build fail. This is what I thought the existing code already did, but I was wrong. Suggested-by: Andrew Evans --- vswitchd/automake.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/vswitchd/automake.mk b/vswitchd/automake.mk index 87963fa9..5c8ab3c2 100644 --- a/vswitchd/automake.mk +++ b/vswitchd/automake.mk @@ -103,5 +103,6 @@ vswitchd/vswitch.ovsschema.stamp: vswitchd/vswitch.ovsschema else \ ln=`sed -n '/"cksum":/=' $?`; \ echo "$?:$$ln: checksum \"$$sum\" does not match (you should probably update the version number and fix the checksum)"; \ + exit 1; \ fi CLEANFILES += vswitchd/vswitch.ovsschema.stamp -- 2.30.2