Merge "Add venv wrapper for check_uptodate.sh"
This commit is contained in:
commit
b67caf3256
|
@ -227,7 +227,7 @@ fi
|
|||
|
||||
if [ $just_pep8 -eq 1 ]; then
|
||||
run_pep8
|
||||
bash ./tools/conf/check_uptodate.sh
|
||||
${wrapper} bash ./tools/conf/check_uptodate.sh
|
||||
exit
|
||||
fi
|
||||
|
||||
|
@ -245,6 +245,6 @@ run_tests
|
|||
if [ -z "$testrargs" ]; then
|
||||
if [ $no_pep8 -eq 0 ]; then
|
||||
run_pep8
|
||||
bash ./tools/conf/check_uptodate.sh
|
||||
${wrapper} bash ./tools/conf/check_uptodate.sh
|
||||
fi
|
||||
fi
|
||||
|
|
|
@ -4,7 +4,8 @@ CFGFILE=cinder.conf.sample
|
|||
tools/conf/generate_sample.sh -o $TEMPDIR
|
||||
if ! diff $TEMPDIR/$CFGFILE etc/cinder/$CFGFILE
|
||||
then
|
||||
echo "E: cinder.conf.sample is not up to date, please run tools/conf/generate_sample.sh"
|
||||
echo "E: cinder.conf.sample is not up to date, please run tools/conf/generate_sample.sh in venv"
|
||||
echo "E: e.g. \$ source .venv/bin/activate; tools/conf/generate_sample.sh"
|
||||
rm -rf $TEMPDIR
|
||||
exit 42
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue