|
#!/bin/sh
|
|
TMPFILE=`mktemp`
|
|
trap "rm -f ${TMPFILE}" EXIT
|
|
tools/conf/generate_sample.sh "${TMPFILE}"
|
|
if ! diff "${TMPFILE}" etc/heat/heat.conf.sample
|
|
then
|
|
echo "E: heat.conf.sample is not up to date, please run tools/conf/generate_sample.sh"
|
|
exit 42
|
|
fi
|