config: specify a template for mktemp
It's actually not portable to use mktemp without an argument, so let's add a default template. Change-Id: I5c254b12c05457d9e3ed5788dabb4c317d97b4aa
This commit is contained in:
parent
2dfc578b2d
commit
536e04848b
@ -1,5 +1,5 @@
|
||||
#!/bin/sh
|
||||
TEMPDIR=`mktemp -d`
|
||||
TEMPDIR=`mktemp -d /tmp/ceilometer-check-config-XXXXXX`
|
||||
CFGFILE=ceilometer.conf.sample
|
||||
tools/config/generate_sample.sh -b ./ -p ceilometer -o $TEMPDIR
|
||||
if ! diff $TEMPDIR/$CFGFILE etc/ceilometer/$CFGFILE
|
||||
|
Loading…
x
Reference in New Issue
Block a user