6 sum=`sed '/cksum/d' $schema | cksum`
7 expected=`sed -n 's/.*"cksum": "\(.*\)".*/\1/p' $schema`
8 if test "X$sum" = "X$expected"; then
11 ln=`sed -n '/"cksum":/=' $schema`
12 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."