diff options
author | Zhongyue Luo <zhongyue.nah@intel.com> | 2013-06-12 14:59:09 +0800 |
---|---|---|
committer | Zhongyue Luo <zhongyue.nah@intel.com> | 2013-06-14 08:57:58 +0800 |
commit | c5a805c8c741ecf5ca9c17a1469383ce9d710371 (patch) | |
tree | 3b000b01fe9aa8cede9a603f8481d3d0c9ac0a07 /tools/conf | |
parent | 8781fccec83054ce9d10493b1791a1b8b55b41a5 (diff) | |
download | nova-c5a805c8c741ecf5ca9c17a1469383ce9d710371.tar.gz nova-c5a805c8c741ecf5ca9c17a1469383ce9d710371.tar.xz nova-c5a805c8c741ecf5ca9c17a1469383ce9d710371.zip |
Remove bin lookup in conf sample generator
As of 584b2f, the bin directory has been removed.
No longer need to handle bin/
Change-Id: Ic5013cd27d7e420a6a01d207546f7ac0258d62d1
Diffstat (limited to 'tools/conf')
-rwxr-xr-x | tools/conf/generate_sample.sh | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/tools/conf/generate_sample.sh b/tools/conf/generate_sample.sh index 89bae8ab8..44d4672b6 100755 --- a/tools/conf/generate_sample.sh +++ b/tools/conf/generate_sample.sh @@ -21,15 +21,9 @@ FILES=$(find nova -type f -name "*.py" ! -path "nova/tests/*" \ -exec grep -l "Opt(" {} + | sort -u) -BINS=$(echo bin/nova-* | grep -v nova-rootwrap) export EVENTLET_NO_GREENDNS=yes MODULEPATH=$(dirname "$0")/../../nova/openstack/common/config/generator.py OUTPUTPATH=etc/nova/nova.conf.sample -PYTHONPATH=./:${PYTHONPATH} python $MODULEPATH $FILES $BINS > $OUTPUTPATH - -# Remove compiled files created by imp.import_source() -for bin in ${BINS}; do - [ -f ${bin}c ] && rm ${bin}c -done +PYTHONPATH=./:${PYTHONPATH} python $MODULEPATH $FILES > $OUTPUTPATH |