6 cksumcheckpath=`dirname $0`
7 sum=`$cksumcheckpath/calculate-schema-cksum $schema`
8 expected=`sed -n 's/.*"cksum": "\(.*\)".*/\1/p' $schema`
9 if test "X$sum" = "X$expected"; then
12 ln=`sed -n '/"cksum":/=' $schema`
13 echo >&2 "$schema:$ln: The checksum \"$sum\" was calculated from the schema file and does not match cksum field in the schema file - you should probably update the version number and the checksum in the schema file with the value listed here."