
Also enable gating on check_uptodate.sh to ensure that the config is always accurate. Change-Id: I85b00bf5d6f152af18d4269c8f0802f0c01bb3ea
10 lines
280 B
Bash
Executable File
10 lines
280 B
Bash
Executable File
#!/bin/sh
|
|
TEMPDIR=`mktemp -d`
|
|
CFGFILE=tuskar.conf.sample
|
|
tools/config/generate_sample.sh -b ./ -p tuskar -o $TEMPDIR
|
|
if ! diff $TEMPDIR/$CFGFILE etc/tuskar/$CFGFILE
|
|
then
|
|
echo "E: tuskar.conf.sample is not up to date, please run tools/config/generate_sample.sh"
|
|
exit 42
|
|
fi
|